head 1.7; access; symbols new_system:1.4 old_system:1.3; locks alexis:1.7; strict; comment @ * @; 1.7 date 99.01.07.13.14.10; author alexis; state Exp; branches; next 1.6; 1.6 date 98.10.07.16.23.26; author alexis; state Exp; branches; next 1.5; 1.5 date 98.08.28.13.12.26; author alexis; state Exp; branches; next 1.4; 1.4 date 98.08.08.09.47.47; author alexis; state Exp; branches; next 1.3; 1.3 date 97.10.26.12.12.31; author alexis; state Exp; branches; next 1.2; 1.2 date 97.02.21.17.09.38; author alexis; state Exp; branches; next 1.1; 1.1 date 97.02.01.21.52.17; author alexis; state Exp; branches; next ; desc @MILEPOST - WORKS. @ 1.7 log @RCS Id is now Header symbol name changes @ text @#ifndef PPPLD_IPC_H #define PPPLD_IPC_H #ifdef MAIN /*@@unused@@*/ static char *ppplcd_ipc_h_rcs_id = "$Header: ppplcd_ipc.h,v 1.6 1998/10/07 16:23:26 alexis Exp alexis $"; #endif #include /* for uid_t and gid_t */ #include "ppplcd_msgids.h" /* for struct msginfrec */ #define MHF_LAST -1 #define MSGTO_PPPLCD 1 #define MSGTO_GETMSG 2 struct mhflkuprec { int id; int (*fnc)(int *); }; extern int ppplcd_ipc_server_init(uid_t, uid_t, int); extern int ppplcd_ipc_client_init(void); extern int ppplcd_ipc_server_shutdown(void); extern int ipc_queue_submit(struct msginfrec *, int, time_t, int, int *); extern int ipc_queue_process(struct msginfrec *, int, int (*)()); extern int lookup_msginfo(struct msginfrec *, int); extern int lookup_msgmhf(struct mhflkuprec *, int); #endif @ 1.6 log @delinted @ text @d5 1 a5 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.5 1998/08/28 13:12:26 alexis Exp alexis $"; d11 1 a11 1 #define MHF_LAST_MARKER -1 @ 1.5 log @milepost @ text @d4 2 a5 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.4 1998/08/08 09:47:47 alexis Exp alexis $"; d8 1 d20 1 a20 1 extern int ppplcd_ipc_server_init(int, int, int); @ 1.4 log @new system - heavily modified to use alarms @ text @d4 1 a4 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.3 1997/10/26 12:12:31 alexis Exp $"; d10 2 a11 2 #define MSGTO_SVR 1 #define MSGTO_INFO 2 d15 1 a15 1 int (*fnc)(); d21 4 a24 4 extern int ppplcd_ipc_send_msg(struct msginfrec *, int, time_t, int, int *); extern int ppplcd_ipc_read_msg(struct msginfrec *, int, int (*)()); extern int id2infidx(struct msginfrec *, int); extern int id2mhfidx(struct mhflkuprec *, int); @ 1.3 log @stamped for release 1.0.6 @ text @d4 1 a4 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.2 1997/02/21 17:09:38 alexis Exp alexis $"; d21 2 a22 2 extern int ppplcd_ipc_send_msg(struct msginfrec *, int, int, int *); extern int ppplcd_ipc_read_msg(struct msginfrec *, int, struct mhflkuprec *); @ 1.2 log @ ppplcd_ipc_server_init parameters changed for perm, owner, group @ text @d4 1 a4 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.1 1997/02/01 21:52:17 alexis Exp alexis $"; @ 1.1 log @Initial revision @ text @d4 1 a4 1 static char *ppplcd_ipc_h_rcs_id = "$Id: ppplcd_ipc.h,v 1.3 1997/01/31 14:43:34 alexis Exp alexis $"; d18 1 a18 1 extern int ppplcd_ipc_server_init(void); @