Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/autofs/common.h
Show All 27 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef AUTOMOUNTD_H | #ifndef AUTOMOUNTD_H | ||||
#define AUTOMOUNTD_H | #define AUTOMOUNTD_H | ||||
#include <sys/mount.h> | |||||
#include <sys/queue.h> | #include <sys/queue.h> | ||||
#include <stdbool.h> | #include <stdbool.h> | ||||
#define AUTO_MASTER_PATH "/etc/auto_master" | #define AUTO_MASTER_PATH "/etc/auto_master" | ||||
#define AUTO_MAP_PREFIX "/etc" | #define AUTO_MAP_PREFIX "/etc" | ||||
#define AUTO_SPECIAL_PREFIX "/etc/autofs" | #define AUTO_SPECIAL_PREFIX "/etc/autofs" | ||||
#define AUTO_INCLUDE_PATH AUTO_SPECIAL_PREFIX "/include" | #define AUTO_INCLUDE_PATH AUTO_SPECIAL_PREFIX "/include" | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
void lesser_daemon(void); | void lesser_daemon(void); | ||||
int main_automount(int argc, char **argv); | int main_automount(int argc, char **argv); | ||||
int main_automountd(int argc, char **argv); | int main_automountd(int argc, char **argv); | ||||
int main_autounmountd(int argc, char **argv); | int main_autounmountd(int argc, char **argv); | ||||
FILE *auto_popen(const char *argv0, ...); | FILE *auto_popen(const char *argv0, ...); | ||||
int auto_pclose(FILE *iop); | int auto_pclose(FILE *iop); | ||||
int unmount_automount(const fsid_t *fsid, int flags); | |||||
/* | /* | ||||
* lex(1) stuff. | * lex(1) stuff. | ||||
*/ | */ | ||||
extern int lineno; | extern int lineno; | ||||
#define STR 1 | #define STR 1 | ||||
#define NEWLINE 2 | #define NEWLINE 2 | ||||
#endif /* !AUTOMOUNTD_H */ | #endif /* !AUTOMOUNTD_H */ |