2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include <libshare.h>
2N/A#include <libshare_impl.h>
2N/Astatic int sa_autofs_init(void);
2N/Astatic void sa_autofs_fini(void);
2N/Astatic int sa_autofs_proto_get_status(char **);
2N/Astatic int sa_autofs_proto_get_property(const char *, const char *, char **);
2N/Astatic int sa_autofs_proto_set_property(const char *, const char *,
2N/Astatic int range_check_validator(int, char *);
2N/Astatic int true_false_validator(int, char *);
2N/Astatic int strlen_validator(int, char *);
2N/Astatic void autofs_free_proto_proplist(void);
2N/A return (SA_INVALID_PROP_VAL);
2N/A return (SA_INVALID_PROP_VAL);
2N/A return (SA_INVALID_PROP_VAL);
2N/A return (SA_INVALID_PROP);
2N/A return (SA_INVALID_PROP);
2N/A case SCF_TYPE_INTEGER:
2N/A case SCF_TYPE_BOOLEAN:
2N/A case SCF_TYPE_ASTRING:
2N/A return (SA_INVALID_PROP);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_MEMORY);
2N/A return (SA_NO_SUCH_PROP);
2N/A return (SA_INVALID_PROP);
2N/A return (SA_INVALID_PROP_VAL);
2N/A return (SA_INVALID_PROP);
2N/A (void) autofs_init_proto_proplist();