Home
last modified time | relevance | path

Searched refs:pathinfo (Results 1 – 10 of 10) sorted by relevance

/external/ipsec-tools/src/racoon/
Dbackupsa.c178 if (safefile(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], 1) != 0 ||
179 (fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "a")) == NULL) {
182 lcconf->pathinfo[LC_PATHTYPE_BACKUPSA]);
210 if (safefile(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], 1) == 0) in backupsa_from_file()
211 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "r"); in backupsa_from_file()
217 lcconf->pathinfo[LC_PATHTYPE_BACKUPSA]); in backupsa_from_file()
234 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file()
290 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file()
298 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA]); in backupsa_from_file()
306 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file()
[all …]
Dlocalconf.c90 if (lcconf->pathinfo[i]) { in flushlcconf()
91 racoon_free(lcconf->pathinfo[i]); in flushlcconf()
92 lcconf->pathinfo[i] = NULL; in flushlcconf()
186 if (safefile(lcconf->pathinfo[LC_PATHTYPE_PSK], 1) == 0)
187 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r");
193 lcconf->pathinfo[LC_PATHTYPE_PSK]);
260 name[0] == '/' ? "" : lcconf->pathinfo[type],
Dsession.c157 if (lcconf->pathinfo[LC_PATHTYPE_PIDFILE] == NULL) in session()
159 else if (lcconf->pathinfo[LC_PATHTYPE_PIDFILE][0] == '/') in session()
160 strlcpy(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session()
163 strlcat(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session()
Dlocalconf.h87 char *pathinfo[LC_PATHTYPE_MAX]; member
Dprivsep.c179 if ((lcconf->pathinfo[LC_PATHTYPE_CERT] == NULL) || in privsep_init()
180 (lcconf->pathinfo[LC_PATHTYPE_SCRIPT] == NULL)) { in privsep_init()
1132 path = lcconf->pathinfo[pathtype];
Dcfparse.y327 if (lcconf->pathinfo[$2])
328 racoon_free(lcconf->pathinfo[$2]);
331 lcconf->pathinfo[$2] = racoon_strdup($3->v);
332 STRDUP_FATAL(lcconf->pathinfo[$2]);
Dremoteconf.c646 script_dir = lcconf->pathinfo[LC_PATHTYPE_SCRIPT];
Dpfkey.c1139 if (!lcconf->pathinfo[LC_PATHTYPE_BACKUPSA])
1435 if (!lcconf->pathinfo[LC_PATHTYPE_BACKUPSA])
Doakley.c1453 lcconf->pathinfo[LC_PATHTYPE_CERT],
/external/ipsec-tools/
Dsetup.c133 localconf.pathinfo[LC_PATHTYPE_CERT] = "./"; in set_globals()