1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

r5197: moved events code to lib/events/ (suggestion from metze)

(This used to be commit 7f54c8a339)
This commit is contained in:
Andrew Tridgell 2005-02-03 11:56:03 +00:00 committed by Gerald (Jerry) Carter
parent dc35a0eb4f
commit 131dc76d56
41 changed files with 46 additions and 46 deletions

View File

@ -199,9 +199,6 @@ AC_CHECK_FUNCS(setbuffer)
AC_CHECK_FUNCS(getdents) AC_CHECK_FUNCS(getdents)
AC_CHECK_FUNCS(pread pwrite) AC_CHECK_FUNCS(pread pwrite)
AC_CHECK_HEADERS(sys/epoll.h)
AC_CHECK_FUNCS(epoll_create)
# needed for lib/charcnv.c # needed for lib/charcnv.c
AC_CHECK_FUNCS(setlocale) AC_CHECK_FUNCS(setlocale)

View File

@ -37,6 +37,7 @@ sub smb_build_main($)
"lib/tdb/config.mk", "lib/tdb/config.mk",
"lib/registry/config.mk", "lib/registry/config.mk",
"lib/messaging/config.mk", "lib/messaging/config.mk",
"lib/events/config.mk",
"smb_server/config.mk", "smb_server/config.mk",
"rpc_server/config.mk", "rpc_server/config.mk",
"ldap_server/config.mk", "ldap_server/config.mk",

View File

@ -17,6 +17,7 @@ SMB_INCLUDE_M4(lib/socket/config.m4)
SMB_INCLUDE_M4(lib/talloc/config.m4) SMB_INCLUDE_M4(lib/talloc/config.m4)
SMB_INCLUDE_M4(lib/tdb/config.m4) SMB_INCLUDE_M4(lib/tdb/config.m4)
SMB_INCLUDE_M4(lib/ldb/config.m4) SMB_INCLUDE_M4(lib/ldb/config.m4)
SMB_INCLUDE_M4(lib/events/config.m4)
SMB_INCLUDE_M4(lib/cmdline/config.m4) SMB_INCLUDE_M4(lib/cmdline/config.m4)
SMB_INCLUDE_M4(param/config.m4) SMB_INCLUDE_M4(param/config.m4)
SMB_INCLUDE_M4(libcli/auth/gensec.m4) SMB_INCLUDE_M4(libcli/auth/gensec.m4)

View File

@ -20,7 +20,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "auth/auth.h" #include "auth/auth.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "asn_1.h" #include "asn_1.h"

View File

@ -32,15 +32,6 @@ ADD_OBJ_FILES = \
# End SUBSYSTEM LIBCRYPTO # End SUBSYSTEM LIBCRYPTO
############################## ##############################
##############################
# Start SUBSYSTEM LIBEVENTS
[SUBSYSTEM::LIBEVENTS]
NOPROTO = YES
INIT_OBJ_FILES = lib/events.o
REQUIRED_SUBSYSTEMS = LIBTALLOC
# End SUBSYSTEM LIBEVENTS
##############################
############################## ##############################
# Start SUBSYSTEM LIBBASIC # Start SUBSYSTEM LIBBASIC
[SUBSYSTEM::LIBBASIC] [SUBSYSTEM::LIBBASIC]

View File

@ -0,0 +1,2 @@
AC_CHECK_HEADERS(sys/epoll.h)
AC_CHECK_FUNCS(epoll_create)

View File

@ -0,0 +1,8 @@
##############################
# Start SUBSYSTEM LIBEVENTS
[SUBSYSTEM::LIBEVENTS]
NOPROTO = YES
INIT_OBJ_FILES = lib/events/events.o
REQUIRED_SUBSYSTEMS = LIBTALLOC
# End SUBSYSTEM LIBEVENTS
##############################

View File

@ -58,7 +58,7 @@
#include "system/time.h" #include "system/time.h"
#include "system/select.h" #include "system/select.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
/* use epoll if it is available */ /* use epoll if it is available */
#if defined(HAVE_EPOLL_CREATE) && defined(HAVE_SYS_EPOLL_H) #if defined(HAVE_EPOLL_CREATE) && defined(HAVE_SYS_EPOLL_H)

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "system/time.h" #include "system/time.h"
#include "messages.h" #include "messages.h"
#include "dlinklist.h" #include "dlinklist.h"

View File

@ -22,7 +22,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "libcli/nbt/libnbt.h" #include "libcli/nbt/libnbt.h"

View File

@ -22,7 +22,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"

View File

@ -24,7 +24,7 @@
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "system/time.h" #include "system/time.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
static void smbcli_transport_process_recv(struct smbcli_transport *transport); static void smbcli_transport_process_recv(struct smbcli_transport *transport);

View File

@ -26,7 +26,7 @@
#include "includes.h" #include "includes.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
/* we over allocate the data buffer to prevent too many realloc calls */ /* we over allocate the data buffer to prevent too many realloc calls */
#define REQ_OVER_ALLOCATION 0 #define REQ_OVER_ALLOCATION 0

View File

@ -30,7 +30,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "system/network.h" #include "system/network.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"

View File

@ -23,7 +23,7 @@
#include "includes.h" #include "includes.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_epmapper.h" #include "librpc/gen_ndr/ndr_epmapper.h"
#include "librpc/gen_ndr/ndr_dcerpc.h" #include "librpc/gen_ndr/ndr_dcerpc.h"

View File

@ -23,7 +23,7 @@
#include "includes.h" #include "includes.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_epmapper.h" #include "librpc/gen_ndr/ndr_epmapper.h"
#define MIN_HDR_SIZE 16 #define MIN_HDR_SIZE 16

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "smbd/service_task.h" #include "smbd/service_task.h"
#include "nbt_server/nbt_server.h" #include "nbt_server/nbt_server.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "nbt_server/nbt_server.h" #include "nbt_server/nbt_server.h"
#include "smbd/service_task.h" #include "smbd/service_task.h"

View File

@ -26,7 +26,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "vfs_posix.h" #include "vfs_posix.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"

View File

@ -27,7 +27,7 @@
#include "auth/auth.h" #include "auth/auth.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "rpc_server/dcerpc_server.h" #include "rpc_server/dcerpc_server.h"
#include "events.h" #include "lib/events/events.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"
/* /*

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "rpc_server/dcerpc_server.h" #include "rpc_server/dcerpc_server.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"

View File

@ -24,7 +24,7 @@
#include "includes.h" #include "includes.h"
#include "rpc_server/dcerpc_server.h" #include "rpc_server/dcerpc_server.h"
#include "librpc/gen_ndr/ndr_echo.h" #include "librpc/gen_ndr/ndr_echo.h"
#include "events.h" #include "lib/events/events.h"
static NTSTATUS echo_AddOne(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_AddOne *r) static NTSTATUS echo_AddOne(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_AddOne *r)

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "system/time.h" #include "system/time.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"

View File

@ -20,7 +20,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"
/* /*

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"

View File

@ -29,7 +29,7 @@
#include <execinfo.h> #include <execinfo.h>
#endif #endif
#include "system/wait.h" #include "system/wait.h"
#include "events.h" #include "lib/events/events.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "smb_server/smb_server.h" #include "smb_server/smb_server.h"

View File

@ -24,7 +24,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "version.h" #include "version.h"
#include "dynconfig.h" #include "dynconfig.h"
#include "lib/cmdline/popt_common.h" #include "lib/cmdline/popt_common.h"

View File

@ -23,7 +23,7 @@
#include "includes.h" #include "includes.h"
#include "process_model.h" #include "process_model.h"
#include "events.h" #include "lib/events/events.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"
/* the range of ports to try for dcerpc over tcp endpoints */ /* the range of ports to try for dcerpc over tcp endpoints */

View File

@ -22,7 +22,7 @@
#include "includes.h" #include "includes.h"
#include "process_model.h" #include "process_model.h"
#include "events.h" #include "lib/events/events.h"
#include "smbd/service_task.h" #include "smbd/service_task.h"
/* /*

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
enum {MY_PING=1000, MY_PONG, MY_EXIT}; enum {MY_PING=1000, MY_PONG, MY_EXIT};

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/nbt/libnbt.h" #include "libcli/nbt/libnbt.h"
#include "librpc/gen_ndr/ndr_nbt.h" #include "librpc/gen_ndr/ndr_nbt.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "libcli/raw/libcliraw.h" #include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h" #include "libcli/composite/composite.h"

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_echo.h" #include "librpc/gen_ndr/ndr_echo.h"

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "events.h" #include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon.h"
#include "auth/auth.h" #include "auth/auth.h"

View File

@ -22,7 +22,7 @@
#include "includes.h" #include "includes.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "events.h" #include "lib/events/events.h"
#include "smbd/service_task.h" #include "smbd/service_task.h"
#include "smbd/service_stream.h" #include "smbd/service_stream.h"