Searched refs:SERVICE_FILE_NAME (Results 1 – 2 of 2) sorted by relevance
28 #define SERVICE_FILE_NAME 0 macro
521 …if (opt[SERVICE_FILE_NAME] == NULL || opt[SERVICE_FILE_FLAGS] == NULL || opt[SERVICE_FILE_PERM] ==… in AddServiceFile()526 …File *fileOpt = (ServiceFile *)calloc(1, sizeof(ServiceFile) + strlen(opt[SERVICE_FILE_NAME]) + 1); in AddServiceFile()527 …K(fileOpt != NULL, return SERVICE_FAILURE, "Failed to calloc for file %s", opt[SERVICE_FILE_NAME]); in AddServiceFile()528 … int ret = strcpy_s(fileOpt->fileName, strlen(opt[SERVICE_FILE_NAME]) + 1, opt[SERVICE_FILE_NAME]); in AddServiceFile()530 return SERVICE_FAILURE, "Failed to copy file name %s", opt[SERVICE_FILE_NAME]); in AddServiceFile()