Changed the define
This commit is contained in:
parent
91d4151463
commit
db4123df8f
3 changed files with 3 additions and 4 deletions
2
README
2
README
|
@ -2,4 +2,4 @@
|
|||
xcid requires X, obviously (pure Xt).
|
||||
Edit the makefile if not on FreeBSD to comment out -DSPEAKER.
|
||||
This is pretty hackish. For some debug stuff in either xcid or cidserv, use -DDEBUG in CPPFLAGS.
|
||||
There is now cnd_mgetty, for use with mgetty's cnd-command parameter. No changes in the client are needed for this to work.
|
||||
There is now cnd_mgetty, for use with mgetty's cnd-command parameter. No changes in the client are needed for this to work. To use it, change the ADDRS define at the top.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CFLAGS=-g -Wall
|
||||
CFLAGS=-g -Wall -DADDRS=\"/usr/local/etc/cidserv.conf\"
|
||||
#-DSPEAKER
|
||||
# -DDEBUG
|
||||
all: cidserv bcast hex cnd_mgetty
|
||||
|
|
|
@ -21,10 +21,9 @@
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#define VERSION "0.1"
|
||||
#define ADDRS "/usr/local/etc/cidserv.conf" /* XXX: change this */
|
||||
int nhosts = 0;
|
||||
char hosts[10][18];
|
||||
static const char rcsid[] = "$Amigan: cidserv/src/cnd_mgetty.c,v 1.1 2005/03/13 06:32:21 dcp1990 Exp $";
|
||||
static const char rcsid[] = "$Amigan: cidserv/src/cnd_mgetty.c,v 1.2 2005/03/13 06:36:16 dcp1990 Exp $";
|
||||
void send_dgram(char* address, char* datar);
|
||||
void load_addrs(const char* fl);
|
||||
int parse_cid(char* tty, char* phone, char* name, int dist_r, char* called);
|
||||
|
|
Loading…
Reference in a new issue