head 1.3; access; symbols; locks; strict; comment @ * @; 1.3 date 97.02.01.21.51.41; author alexis; state Exp; branches; next 1.2; 1.2 date 97.01.31.14.43.34; author alexis; state Exp; branches; next 1.1; 1.1 date 97.01.22.10.34.37; author alexis; state Exp; branches; next ; desc @@ 1.3 log @MILEPOST - WORKS @ text @#include #include "ppplcd_utils.h" #include "ppplcd_msgids.h" #include "ppplcd_ipc.h" /* for forward refs */ static char *rcs_id = "$Id: catmsg.c,v 1.2 1997/01/31 14:43:34 alexis Exp alexis $"; char *progname; main( int argc, char *argv[]) { char buf[MAX_MSG_SIZ]; progname = basename(argv[0]); if (argc != 1) { perror("usage"); exit(1); } if (ppplcd_ipc_client_init()) { perror("msgget"); exit(1); } ppplcd_ipc_send_msg(MSGTO_INFO, msgid2txt(atoi(argv[1]))); exit(0); } @ 1.2 log @MILEPOST - MAY NOT WORK @ text @d3 3 a5 3 #include "pppld_utils.h" #include "pppld_msgids.h" #include "pppld_ipc.h" /* for forward refs */ d7 1 a7 1 static char *rcs_id = "$Id$"; d24 1 a24 1 if (pppld_ipc_client_init()) { d29 1 a29 1 pppld_ipc_send_msg(MSGTO_INFO, msgid2txt(atoi(argv[1]))); @ 1.1 log @Initial revision @ text @d7 1 @