aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-03-27 04:15:26 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-03-27 04:15:26 +0000
commitc7fc4bf77c081ace071df1e552cb852e90be2192 (patch)
treedaf69dd8ea7f47ec710e3af4e4bcd399d0462634 /include
parent3c5968e907c435bd5370d597f4a385d1e1da6af3 (diff)
downloadautofs3-c7fc4bf77c081ace071df1e552cb852e90be2192.tar.gz
autofs3-c7fc4bf77c081ace071df1e552cb852e90be2192.tar.xz
autofs3-c7fc4bf77c081ace071df1e552cb852e90be2192.zip
Merged in Hesiod and NIS+ support; updated NEWS, TODO and COPYRIGHT files.
Diffstat (limited to 'include')
-rw-r--r--include/automount.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/automount.h b/include/automount.h
index 1e8a001..8054269 100644
--- a/include/automount.h
+++ b/include/automount.h
@@ -45,9 +45,9 @@ int lookup_init(const char *mapfmt, int argc, const char * const *argv,
int lookup_mount(const char *, const char *, int, void *);
int lookup_done(void *);
#endif
-typedef (*lookup_init_t)(const char *, int, const char * const *, void **);
-typedef (*lookup_mount_t)(const char *, const char *, int, void *);
-typedef (*lookup_done_t)(void *);
+typedef int (*lookup_init_t)(const char *, int, const char * const *, void **);
+typedef int (*lookup_mount_t)(const char *, const char *, int, void *);
+typedef int (*lookup_done_t)(void *);
struct lookup_mod {
lookup_init_t lookup_init;
lookup_mount_t lookup_mount;
@@ -70,9 +70,9 @@ int parse_mount(const char *root, const char *name,
int name_len, const char *mapent, void *context);
int parse_done(void *);
#endif
-typedef (*parse_init_t)(int, const char * const *,void **);
-typedef (*parse_mount_t)(const char *,const char *,int, const char *,void *);
-typedef (*parse_done_t)(void *);
+typedef int (*parse_init_t)(int, const char * const *,void **);
+typedef int (*parse_mount_t)(const char *,const char *,int, const char *,void *);
+typedef int (*parse_done_t)(void *);
struct parse_mod {
parse_init_t parse_init;
parse_mount_t parse_mount;
@@ -95,9 +95,9 @@ int mount_mount(const char *root, const char *name, int name_len,
void *context);
int mount_done(void *context);
#endif
-typedef (*mount_init_t)(void **);
-typedef (*mount_mount_t)(const char *, const char *, int, const char *, const char *, const char *, void *);
-typedef (*mount_done_t)(void *);
+typedef int (*mount_init_t)(void **);
+typedef int (*mount_mount_t)(const char *, const char *, int, const char *, const char *, const char *, void *);
+typedef int (*mount_done_t)(void *);
struct mount_mod {
mount_init_t mount_init;
mount_mount_t mount_mount;