1 /*
2  *   cdinfo - CD Information Management Library
3  *
4  *   Copyright (C) 1993-2004  Ti Kan
5  *   E-mail: xmcd@amb.org
6  *
7  *   This program is free software; you can redistribute it and/or modify
8  *   it under the terms of the GNU General Public License as published by
9  *   the Free Software Foundation; either version 2 of the License, or
10  *   (at your option) any later version.
11  *
12  *   This program is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *   GNU General Public License for more details.
16  *
17  *   You should have received a copy of the GNU General Public License
18  *   along with this program; if not, write to the Free Software
19  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  *
21  */
22 #ifndef __MOTD_H__
23 #define __MOTD_H__
24 
25 #ifndef lint
26 static char *_motd_h_ident_ = "@(#)motd.h	7.4 04/04/20";
27 #endif
28 
29 
30 /* SOCKS support */
31 #ifdef SOCKS
32 #define SOCKSINIT(x)	SOCKSinit(x)
33 #define SOCKET		socket
34 #define CONNECT		Rconnect
35 #else
36 #define SOCKSINIT(x)
37 #define SOCKET		socket
38 #define CONNECT		connect
39 #endif  /* SOCKS */
40 
41 
42 /* Public functions */
43 extern void		motd_get(byte_t *);
44 
45 #endif	/* __MOTD_H__ */
46