Lines Matching refs:protocol
1282 /* destination protocol:... proto: */
4008 websWrite(wp, "function get_share_management_status(protocol){\n");
4009 websWrite(wp, " if(protocol == \"cifs\")\n");
4011 websWrite(wp, " else if(protocol == \"ftp\")\n");
4081 // The parameter from web are "protocol", "flag".
4083 char *protocol = websGetVar(wp, "protocol", "");
4087 if(strlen(protocol) <= 0){
4108 if(!strcmp(protocol, "cifs")){
4133 else if(!strcmp(protocol, "ftp")){
4612 // The parameter from web is "protocol", "mode" and "dummyShareway" is optional.
4617 char *protocol = websGetVar(wp, "protocol", "");
4621 printf("protocol: %s.\n", protocol);
4628 if(strlen(protocol) <= 0){
4650 if(!strcmp(protocol, "cifs")){
4657 else if(!strcmp(protocol, "ftp")){
4675 if(!strcmp(protocol, "cifs")){
4681 else if(!strcmp(protocol, "ftp")){
4710 if(!strcmp(protocol, "cifs"))
4712 else if(!strcmp(protocol, "ftp"))
4927 // The parameter from web is "account", "pool", "folder", "protocol", "permission".
4933 char *protocol = websGetVar(wp, "protocol", "");
5004 if(strlen(protocol) <= 0){
5015 if(strcmp(protocol, "cifs") && strcmp(protocol, "ftp") && strcmp(protocol, "dms")){
5051 if(set_permission(account, mount_path, folder, protocol, right) < 0){