|
|
BSD 4.3reno
/* popaka.c - generate POP entries for MMDF-II alias file */
#include <stdio.h>
#include "../zotnet/bboards.h"
/* */
/* 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);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.