/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 92 static int cf_expand_home_dir(CompleteFile *cf, const char *user); 93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, 97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, 101 static char *cf_read_name(CompleteFile *cf, const char *type, 104 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix, 112 CompleteFile *cf; /* The file-completion resource object */ member in struct:__anon4067 129 CompleteFile *cf; /* The object to be returned */ local 133 cf = (CompleteFile *) malloc(sizeof(CompleteFile)); 134 if(!cf) { 143 cf 191 _del_CompleteFile(CompleteFile *cf) argument 236 _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 464 _cf_last_error(CompleteFile *cf) argument 481 cf_expand_home_dir(CompleteFile *cf, const char *user) argument 523 cf_complete_username(CompleteFile *cf, WordCompletion *cpl, const char *prefix, const char *line, int word_start, int word_end, int escaped) argument 561 CompleteFile *cf = args->cf; local 607 cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 769 cf_read_name(CompleteFile *cf, const char *type, const char *string, int slen, char *nambuf, int nammax) argument 814 cf_prepare_suffix(CompleteFile *cf, const char *suffix, int add_escapes) argument [all...] |
H A D | cplfile.h | 46 CompleteFile *_del_CompleteFile(CompleteFile *cf); 52 * container belongs to the 'cf' object and its contents will change on 57 * cf CompleteFile * The filename-completion resource object. 81 * acquired by calling cf_last_error(cf). 83 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, 92 * cf CompleteFile * The path-completion resource object. 96 const char *_cf_last_error(CompleteFile *cf);
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | conf.c | 117 grow_conf_file(conf_t *cf) argument 119 int ndsize = cf->cf_dsize ? cf->cf_dsize * CF_GROW : CF_DEFSIZE; 120 void *ndtab = realloc(cf->cf_dtab, sizeof (char *) * ndsize); 130 lines = ndsize - cf->cf_dsize; 131 odsize = cf->cf_dsize; 133 cf->cf_dtab = (char **)ndtab; 134 cf->cf_dsize = ndsize; 142 cf->cf_dtab[odsize + i] = p; 149 conf_open(conf_t *cf, cons argument 192 conf_rewind(conf_t *cf) argument 198 conf_read(conf_t *cf) argument 207 conf_close(conf_t *cf) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | cf.c | 14 SM_RCSID("@(#)$Id: cf.c,v 8.18.2.1 2002/09/24 21:48:23 ca Exp $") 18 ** GETCFNAME -- return the name of the .cf file to use. 22 ** For others: returns submit.cf or sendmail.cf depending 28 ** cftype -- may request a certain cf file. 32 ** name of .cf file. 57 static char cf[MAXPATHLEN]; local 61 "submit.cf", '\0'); 63 (void) sm_strlcpy(cf, cflocation, sizeof cf); [all...] |
H A D | Makefile | 39 OBJS= cf.o debug.o err.o lockfile.o safefile.o snprintf.o
|
/illumos-gate/usr/src/cmd/sendmail/cf/ |
H A D | Makefile | 26 # cmd/sendmail/cf/Makefile 31 CFS= sendmail.cf submit.cf 33 SUBCFS= cf/sendmail.cf cf/submit.cf 35 COMMONM4FILES= m4/version.m4 m4/cf.m4 m4/cfhead.m4 m4/proto.m4 \ 43 ROOTETCMAILCF = $(ROOTETCMAIL)/cf 46 $(ROOTETCMAILCF)/cf/Makefil [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | misc.c | 81 char *cf; local 83 cf = startd_alloc(max_scf_fmri_size); 92 if (strlcpy(cf, fmri, max_scf_fmri_size) >= max_scf_fmri_size || 93 scf_parse_svc_fmri(cf, NULL, NULL, &instance, &pg, 95 startd_free(cf, max_scf_fmri_size); 100 startd_free(cf, max_scf_fmri_size); 105 if (scf_canonify_fmri(fmri, cf, max_scf_fmri_size) < 0) { 106 startd_free(cf, max_scf_fmri_size); 110 *retp = cf;
|
/illumos-gate/usr/src/cmd/lvm/etc/ |
H A D | svm.save.sh | 38 cp ${FLASH_ROOT}/etc/lvm/md.cf ${SAVE_DIR} 41 cp ${FLASH_ROOT}/etc/lvm/mddb.cf ${SAVE_DIR} 42 cp ${FLASH_ROOT}/etc/lvm/runtime.cf ${SAVE_DIR}
|
H A D | svm.cleanup.sh | 36 IN_CF=${FLASH_ROOT}/etc/lvm/mddb.cf 40 TMP_CF=/var/tmp/mddb.cf.1 77 # Remove SVM mddb entries from /etc/lvm/mddb.cf. 86 cp /etc/lvm/mddb.cf ${IN_CF} 133 cp ${SAVE_DIR}/md.cf ${FLASH_ROOT}/etc/lvm/md.cf 136 cp ${SAVE_DIR}/mddb.cf ${FLASH_ROOT}/etc/lvm/mddb.cf 137 cp ${SAVE_DIR}/runtime.cf ${FLASH_ROOT}/etc/lvm/runtime.cf [all...] |
H A D | Makefile | 37 LVMINITPROG= md.cf md.ctlrmap md.tab mddb.cf lock runtime.cf devpath
|
/illumos-gate/usr/src/psm/stand/cpr/common/ |
H A D | support.c | 47 struct cprconfig cf; local 49 if (cpr_fs_read(fd, (char *)&cf, sizeof (cf)) != sizeof (cf) || 50 cf.cf_magic != CPR_CONFIG_MAGIC) 53 (void) prom_strcpy(file_path, cf.cf_path); 54 (void) prom_strcpy(fs_path, cf.cf_dev_prom); 55 if (cf.cf_type == CFT_ZVOL) 56 volname = cf.cf_fs;
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfs_inet.h | 120 #define cfile_is_dir(cf) (((cf)->version == NFS_VERSION) ? \ 121 ((cf)->ftype.type2 == NFDIR) : \ 122 (((cf)->version == NFS_V3) ? \ 123 ((cf)->ftype.type3 == NF3DIR) : \ 124 (((cf)->version == NFS_V4) ? \ 125 ((cf)->ftype.type4 == NF4DIR) : 0))) 127 #define cfile_is_lnk(cf) (((cf)->version == NFS_VERSION) ? \ 128 ((cf) [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 110 cleanup(char ***files, char **cf) argument 123 if (*cf != NULL) { 124 free(*cf); 125 *cf = NULL; 130 parse_cf(papi_service_t svc, char *cf, char **files) argument 138 for (entry = strtok(cf, "\n"); entry != NULL; 343 "Warning: cf message (%s) ignored", 352 "Warning: cf message (%s) ignored", entry); 370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, argument 378 if ((list = parse_cf(svc, cf, file 493 char *cf = NULL; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/cf/cf/ |
H A D | Makefile | 32 # Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf" 33 # of "/usr/ccs/bin/make file.cf"; these may be easier than tweaking the 44 .SUFFIXES: .mc .cf 46 .mc.cf: 48 $(M4) ${CFDIR}/m4/cf.m4 $*.mc > $@ 50 ALL= sendmail.cf submit.cf 119 ${CFDIR}/m4/cf.m4 \
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_misc.c | 177 struct cprconfig *cf = &cprconfig; local 191 err = cpr_rdwr(UIO_READ, vp, cf, sizeof (*cf)); 199 if (cf->cf_magic == CPR_CONFIG_MAGIC) 219 struct cprconfig *cf = &cprconfig; local 225 (void) strcpy(full_path, cf->cf_fs); 226 if (strcmp(cf->cf_fs, "/")) 228 ptr = cf->cf_path; 251 struct cprconfig *cf = &cprconfig; local 279 switch (cf 1020 struct cprconfig *cf = &cprconfig; local 1054 struct cprconfig *cf = &cprconfig; local [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uudemon.admin | 45 # return a list of systems defined in /etc/asppp.cf 47 if [ ! -f /etc/asppp.cf ]; then 50 X=`sed -e 's/#.*$//' /etc/asppp.cf`
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | sendmail_include.sh | 61 # expected to be called with two arguments: .cf path & path to m4 file 91 m4 $m4flags /etc/mail/cf/m4/cf.m4 "$base" > "${name}.cf" 93 cmp -s "${name}.cf" "$cf_path" || ( 94 cp "${name}.cf" "${cf_path}.tmp" &&
|
/illumos-gate/usr/src/man/man4/ |
H A D | Makefile | 111 mddb.cf.4 \ 165 rdc.cf.4 \ 235 md.cf.4 \ 242 sendmail.cf.4 \ 244 submit.cf.4 \ 286 md.cf.4 := LINKSRC = md.tab.4 292 sendmail.cf.4 := LINKSRC = sendmail.4 293 submit.cf.4 := LINKSRC = sendmail.4
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.h | 78 (((x->cf_node) && (x->cf[1].cf_fd)) ? &x->cf[1] : &x->cf[0])
|
H A D | cfg.c | 456 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 484 if (cfp >= &cfg->cf[2]) { 768 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 799 if (cfp >= &cfg->cf[2]) { 861 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 892 if (cfp >= &cfg->cf[2]) { 974 cfg->cf[ 2668 cfgheader_t *cf; local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 48 static int audit_crontab_get_diffs(char *cf, char *tmp_name, 153 * cf - name of crontab file 167 audit_crontab_get_diffs(char *cf, char *tmp_name, char **bufptr) argument 182 if (stat(cf, &st) == -1) { 189 cf, strerror(errno));
|
/illumos-gate/usr/src/cmd/sendmail/cf/sh/ |
H A D | check-permissions.sh | 23 # Check :include: aliases (in files configured in sendmail.cf) and .forward 78 config=/etc/mail/sendmail.cf 91 # Find all valid :include: files used in alias files configured in sendmail.cf
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | string.c | 82 cf(unsigned char *s1, unsigned char *s2) function
|
/illumos-gate/usr/src/cmd/print/printmgr/ |
H A D | Makefile | 71 then $(JAR) cf $@ \ 74 else $(JAR) cf $@ \
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | crontab.c | 105 char *cf; variable 229 cf = xmalloc(strlen(CRONDIR)+strlen(login)+2); 230 strcat(strcat(strcpy(cf, CRONDIR), "/"), login); 233 r = unlink(cf); 235 audit_crontab_delete(cf, r); 239 if ((fp = fopen(cf, "r")) == NULL) 247 if ((fp = fopen(cf, "r")) == NULL) { 511 audit_crontab_modify(cf, tnam, err); 515 unlink(cf); 516 if (link(tnam, cf) [all...] |