minor fix to return E_USAGE on -V instead of exit(0);
[oss-qm-packages.git] / lib / ppp_ac.c
blob3b534f941b6a3444e91493f9b3e123dedb58a5ff
1 /*
2 * lib/ppp_ac.c This file contains the activation for the
3 * PPP line disciplines, called from activate_ld().
5 * Version: $Id: ppp_ac.c,v 1.3 1998/11/15 20:11:50 freitag Exp $
7 * Author: Bernd 'eckes' Eckenfels
9 * This program is free software; you can redistribute it
10 * and/or modify it under the terms of the GNU General
11 * Public License as published by the Free Software
12 * Foundation; either version 2 of the License, or (at
13 * your option) any later version.
15 #include "config.h"
17 #if HAVE_HWPPP
19 #include <sys/types.h>
20 #include <sys/ioctl.h>
21 #include <sys/socket.h>
22 #include <net/if_arp.h>
23 #include <stdlib.h>
24 #include <stdio.h>
25 #include <ctype.h>
26 #include <errno.h>
27 #include <fcntl.h>
28 #include <string.h>
29 #include <termios.h>
30 #include <unistd.h>
31 #include "net-support.h"
32 #include "pathnames.h"
33 #include "intl.h"
35 /* Start the VJ-SLIP encapsulation on the file descriptor. */
36 int PPP_activate(int fd)
38 fprintf(stderr, _("Sorry, use pppd!\n")); /* FIXME */
39 return (-1);
42 #endif /* HAVE_HWPPP */