smbnetfs  0.6.3
About: SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft network in the same manner as the network neighborhood in Microsoft Windows.
  Fossies Dox: smbnetfs-0.6.3.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

auth-libsecret.h
Go to the documentation of this file.
1 #ifndef __AUTH_LIBSECRET_H__
2 #define __AUTH_LIBSECRET_H__
3 
4 #define AUTH_FALLBACK 0
5 #define AUTH_MATCH_DEFAULT 1
6 #define AUTH_MATCH_DOMAIN_COMPAT 2
7 #define AUTH_MATCH_DOMAIN 3
8 #define AUTH_MATCH_SERVER 4
9 #define AUTH_MATCH_RESOURCE 5
10 
11 #ifdef HAVE_LIBSECRET
12 struct libsecret_authinfo{
13  char *domain;
14  char *user;
15  char *password;
16  int suitability;
17 };
18 
19 void libsecret_init(void);
20 void libsecret_done(void);
21 int libsecret_enable(int state);
22 int libsecret_set_request_timeout(int timeout);
23 
24 struct libsecret_authinfo* libsecret_get_authinfo(
25  const char *domain,
26  const char *server,
27  const char *share);
28 
29 void libsecret_free_authinfo(struct libsecret_authinfo*);
30 #endif /* HAVE_LIBSECRET */
31 
32 #endif /* __AUTH_LIBSECRET_H__ */