From 2cbdd12983eb85eddb90f64cfafb24eae5b448f4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 25 Dec 2011 19:14:47 +0100 Subject: AUTOFS: a client library This is the library the autofs client is using. automounter dlopen()s the library so there is no header file, no pkgconfig file and the library is in the libsss_autofs package, not in -devel. The library provides the following interface: * _sss_setautomntent() - select the map for processing * _sss_getautomntent_r() - iterates through key/value pairs in the selected map. The key is usually the mount point, the value is mount information (server:/export) * _sss_getautomntbyname_r() - returns value for a specific key. * _sss_endautomntent() deselect a map, clean up --- src/sss_client/autofs/sss_autofs.exports | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/sss_client/autofs/sss_autofs.exports (limited to 'src/sss_client/autofs/sss_autofs.exports') diff --git a/src/sss_client/autofs/sss_autofs.exports b/src/sss_client/autofs/sss_autofs.exports new file mode 100644 index 00000000..f9ce8f5b --- /dev/null +++ b/src/sss_client/autofs/sss_autofs.exports @@ -0,0 +1,14 @@ +EXPORTED { + + # public functions + global: + _sss_setautomntent; + _sss_getautomntent_r; + _sss_getautomntbyname_r; + _sss_endautomntent; + + # everything else is local + local: + *; +}; + -- cgit