add signal stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4338 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -55,6 +55,18 @@ | ||||
| #ifdef HAVE_FCNTL_H | ||||
| #include <fcntl.h> | ||||
| #endif | ||||
| #ifdef HAVE_SYS_TYPES_H | ||||
| #include <sys/types.h> | ||||
| #endif | ||||
| #ifdef HAVE_SYS_TIME_H | ||||
| #include <sys/time.h> | ||||
| #endif | ||||
| #ifdef HAVE_UNISTD_H | ||||
| #include <unistd.h> | ||||
| #endif | ||||
| #ifdef HAVE_SYS_UN_H | ||||
| #include <sys/un.h> | ||||
| #endif | ||||
| #include <fnmatch.h> | ||||
| #include "admin.h" | ||||
| #include "kadm5_err.h" | ||||
| @@ -99,6 +111,8 @@ typedef struct kadm5_log_context { | ||||
|     char *log_file; | ||||
|     int log_fd; | ||||
|     u_int32_t version; | ||||
|     struct sockaddr_un socket_name; | ||||
|     int socket_fd; | ||||
| } kadm5_log_context; | ||||
|  | ||||
| typedef struct kadm5_server_context { | ||||
| @@ -263,4 +277,6 @@ kadm5_log_replay (kadm5_server_context *context, | ||||
| 		  u_int32_t len, | ||||
| 		  krb5_storage *sp); | ||||
|  | ||||
| #define KADM5_LOG_SIGNAL HDB_DB_DIR "/signal" | ||||
|  | ||||
| #endif /* __KADM5_LOCL_H__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund