From 5708dc97b69a468f077616d7a75e81f4172f63fa Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 3 Jan 2012 22:27:01 +0100 Subject: AUTOFS: Data Provider request --- src/providers/dp_backend.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers/dp_backend.h') diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h index 0964110a..c053538b 100644 --- a/src/providers/dp_backend.h +++ b/src/providers/dp_backend.h @@ -50,6 +50,7 @@ enum bet_type { BET_ACCESS, BET_CHPASS, BET_SUDO, + BET_AUTOFS, BET_MAX }; @@ -112,6 +113,7 @@ struct be_ctx { struct be_client *nss_cli; struct be_client *pam_cli; struct be_client *sudo_cli; + struct be_client *autofs_cli; struct loaded_be loaded_be[BET_MAX]; struct bet_info bet_info[BET_MAX]; @@ -153,6 +155,10 @@ struct be_sudo_req { char **groups; }; +struct be_autofs_req { + char *mapname; +}; + bool be_is_offline(struct be_ctx *ctx); void be_mark_offline(struct be_ctx *ctx); -- cgit