summaryrefslogtreecommitdiff
path: root/server/responder/nss/nsssrv.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-02-25 16:40:17 -0500
committerSimo Sorce <ssorce@redhat.com>2009-02-26 09:13:20 -0500
commitc9f6d2795fde2f9bf80277d425df2b44bc860226 (patch)
tree301e1217eb5fda73351e9c7fb2f73048853942df /server/responder/nss/nsssrv.h
parent03fa4034a6a74a326e5340dae42d85eea4516b3c (diff)
downloadsssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.gz
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.bz2
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.zip
Rebase the code to use talloc, tdb, tevent, ldb as external
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
Diffstat (limited to 'server/responder/nss/nsssrv.h')
-rw-r--r--server/responder/nss/nsssrv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h
index 03dc35af..333e4281 100644
--- a/server/responder/nss/nsssrv.h
+++ b/server/responder/nss/nsssrv.h
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <sys/un.h>
+#include "config.h"
#include "talloc.h"
#include "tevent.h"
#include "ldb.h"
@@ -38,7 +39,6 @@
#define NSS_PACKET_MAX_RECV_SIZE 1024
/* NSS_DOMAIN_DELIM can be specified in config.h */
-#include "config.h"
#ifndef NSS_DOMAIN_DELIM
#define NSS_DOMAIN_DELIM '@'
#endif
@@ -51,8 +51,8 @@ struct sysdb_ctx;
struct getent_ctx;
struct nss_ctx {
- struct event_context *ev;
- struct fd_event *lfde;
+ struct tevent_context *ev;
+ struct tevent_fd *lfde;
int lfd;
struct sysdb_ctx *sysdb;
struct confdb_ctx *cdb;
@@ -72,10 +72,10 @@ struct nss_ctx {
};
struct cli_ctx {
- struct event_context *ev;
+ struct tevent_context *ev;
struct nss_ctx *nctx;
int cfd;
- struct fd_event *cfde;
+ struct tevent_fd *cfde;
struct sockaddr_un addr;
struct cli_request *creq;
struct getent_ctx *gctx;