~zulcss/ubuntu/lucid/likewise-open/likewise-open-sru

« back to all changes in this revision

Viewing changes to samba/source/nsswitch/winbind_nss_linux.h

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-08-27 08:56:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080827085620-5q0f58b9qtog9myq
Tags: 4.1.0.2956-0ubuntu1
* missing-likewise-logo.diff: removed
* fixed copyright notice
* updated Standards-Version to 3.8.0
* removed path from command in prerm
* removed stop in S runlevel

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef _WINBIND_NSS_LINUX_H
23
23
#define _WINBIND_NSS_LINUX_H
24
24
 
 
25
#if HAVE_NSS_H
25
26
#include <nss.h>
 
27
#endif
26
28
 
 
29
#ifndef NSS_STATUS_DEFINED
 
30
#define NSS_STATUS_DEFINED
27
31
typedef enum nss_status NSS_STATUS;
 
32
#endif
 
33
 
 
34
NSS_STATUS _nss_lwidentity_setpwent(void);
 
35
NSS_STATUS _nss_lwidentity_endpwent(void);
 
36
NSS_STATUS _nss_lwidentity_getpwent_r(struct passwd *result, char *buffer, 
 
37
                                   size_t buflen, int *errnop);
 
38
NSS_STATUS _nss_lwidentity_getpwuid_r(uid_t uid, struct passwd *result, 
 
39
                                   char *buffer, size_t buflen, int *errnop);
 
40
NSS_STATUS _nss_lwidentity_getpwnam_r(const char *name, struct passwd *result, 
 
41
                                   char *buffer, size_t buflen, int *errnop);
 
42
NSS_STATUS _nss_lwidentity_setgrent(void);
 
43
NSS_STATUS _nss_lwidentity_endgrent(void);
 
44
NSS_STATUS _nss_lwidentity_getgrent_r(struct group *result, char *buffer, 
 
45
                                   size_t buflen, int *errnop);
 
46
NSS_STATUS _nss_lwidentity_getgrlst_r(struct group *result, char *buffer, 
 
47
                                   size_t buflen, int *errnop);
 
48
NSS_STATUS _nss_lwidentity_getgrnam_r(const char *name, struct group *result, 
 
49
                                   char *buffer, size_t buflen, int *errnop);
 
50
NSS_STATUS _nss_lwidentity_getgrgid_r(gid_t gid, struct group *result, char *buffer, 
 
51
                                   size_t buflen, int *errnop);
 
52
NSS_STATUS _nss_lwidentity_initgroups_dyn(const char *user, gid_t group, long int *start, 
 
53
                                       long int *size, gid_t **groups, 
 
54
                                       long int limit, int *errnop);
 
55
NSS_STATUS _nss_lwidentity_getusersids(const char *user_sid, char **group_sids, 
 
56
                                    int *num_groups, char *buffer, size_t buf_size, 
 
57
                                    int *errnop);
 
58
NSS_STATUS _nss_lwidentity_nametosid(const char *name, char **sid, char *buffer,
 
59
                                  size_t buflen, int *errnop);
 
60
NSS_STATUS _nss_lwidentity_sidtoname(const char *sid, char **name, char *buffer, 
 
61
                                  size_t buflen, int *errnop);
 
62
NSS_STATUS _nss_lwidentity_sidtouid(const char *sid, uid_t *uid, int *errnop);
 
63
NSS_STATUS _nss_lwidentity_sidtogid(const char *sid, gid_t *gid, int *errnop);
 
64
NSS_STATUS _nss_lwidentity_uidtosid(uid_t uid, char **sid, char *buffer, 
 
65
                                 size_t buflen, int *errnop);
 
66
NSS_STATUS _nss_lwidentity_gidtosid(gid_t gid, char **sid, char *buffer, 
 
67
                                 size_t buflen, int *errnop);
28
68
 
29
69
#endif /* _WINBIND_NSS_LINUX_H */