Home
last modified time | relevance | path

Searched refs:sfv_files (Results 1 – 6 of 6) sorted by relevance

/dports/security/pure-sfv/pure-sfv-0.3/
H A Dpure-sfv_params.c36 init_string_array(&params->sfv_files); in initParams()
65 debug_string_array("sfv_files", &params->sfv_files); in debugParams()
181 if (params->sfv_files.len == 0) { in includeFileSFV()
184 for(i = 0; i < params->sfv_files.len; i++) { in includeFileSFV()
185 if (match(params->sfv_files.strs[i], filename, params->ignore_case)) { in includeFileSFV()
186 switch(attr_base(params->sfv_files.attr[i])) { in includeFileSFV()
188 attr_set(&(params->sfv_files.attr[i]), PARAM_NAME_FOUND); in includeFileSFV()
H A Dsfv_create.c151 if (params->sfv_files.names_cnt) { in sfvCreateFile()
152 for(i = 0; i < params->sfv_files.len; i++) { in sfvCreateFile()
153 if (attr_base(params->sfv_files.attr[i]) == PARAM_NAME) { in sfvCreateFile()
154 strncpy(sfv_info.name, params->sfv_files.strs[i], MAX_STRING_LEN); in sfvCreateFile()
268 if (params->sfv_files.names_cnt) { in makeSFVname()
269 for(i = 0; i < params->sfv_files.len; i++) { in makeSFVname()
270 if (attr_base(params->sfv_files.attr[i]) == PARAM_NAME) { in makeSFVname()
271 strncpy(name_out, params->sfv_files.strs[i], MAX_STRING_LEN); in makeSFVname()
399 if (( (params->sfv_files.len == 0) && in sfvCreateRecursive()
402 ( (params->sfv_files.len != 0) && in sfvCreateRecursive()
H A Dpure-sfv_main.c168 add_string_array(&params.sfv_files, c, PARAM_NAME); in main()
170 add_string_array(&params.sfv_files, c, PARAM_MASK_INCLUDE); in main()
241 if ( (params.sfv_files.names_cnt == 0) && (isSfvFile(ext)) ) { in main()
244 add_string_array(&params.sfv_files, c, PARAM_NAME); in main()
246 add_string_array(&params.sfv_files, c, PARAM_MASK_INCLUDE); in main()
H A Dprocess.c58 if ((params->cnt.sfv_tested == 0) && (params->sfv_files.names_cnt == 0)) { in reportTotal()
62 if (params->sfv_files.names_cnt != 0) { in reportTotal()
63 for(i = 0 ; i < params->sfv_files.len; i++) { in reportTotal()
64 atr = params->sfv_files.attr[i]; in reportTotal()
68 … printf("SFV file [%s] not found \n", params->sfv_files.strs[i]); in reportTotal()
H A Dsfv_test.c258 if (( (params->sfv_files.len == 0) && in sfvTestInDir()
261 ( (params->sfv_files.len != 0) && in sfvTestInDir()
H A Dpure-sfv.h150 string_array sfv_files; member