head 1.5; access; symbols; locks; strict; comment @ * @; 1.5 date 92.12.15.00.20.22; author jromine; state Exp; branches; next 1.4; 1.4 date 90.04.05.15.34.58; author sources; state Exp; branches; next 1.3; 1.3 date 90.04.05.14.54.39; author sources; state Exp; branches; next 1.2; 1.2 date 90.02.06.13.11.42; author sources; state Exp; branches; next 1.1; 1.1 date 90.02.06.13.11.17; author sources; state Exp; branches; next ; desc @@ 1.5 log @endif sugar @ text @/* popaka.c - generate POP entries for MMDF-II alias file */ #ifndef lint static char ident[] = "@@(#)$Id: popaka.c,v 1.4 1990/04/05 15:34:58 sources Exp jromine $"; #endif /* lint */ #include #include "../zotnet/bboards.h" static process(); /* */ /* ARGSUSED */ main (argc, argv) int argc; char **argv; { struct bboard *bb; if (!setbbinfo (POPUID, POPDB, 1)) { fprintf (stderr, "setbbinfo(%s, %s, 1) failed -- %s\n", POPUID, POPDB, getbberr ()); exit (1); } (void) setbbent (SB_STAY); while (bb = getbbent ()) process (bb); (void) endbbent (); exit (0); } /* */ static process (bb) struct bboard *bb; { printf ("%s: %s@@pop\n", bb -> bb_name, bb -> bb_name); } @ 1.4 log @add ID @ text @d3 2 a4 2 static char ident[] = "@@(#)$Id:$"; #endif lint @ 1.3 log @add ID @ text @d3 1 a3 1 static char ident[] = "@@(#)$Id:"; @ 1.2 log @ANSI Compilance @ text @d2 3 @ 1.1 log @Initial revision @ text @d6 1 @