~ubuntu-branches/ubuntu/trusty/ifmail/trusty

« back to all changes in this revision

Viewing changes to .pc/portability_headers/iflib/lutil.h

  • Committer: Package Import Robot
  • Author(s): Marco d'Itri
  • Date: 2012-05-14 05:17:39 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120514051739-86alcr4jvx2ses6v
Tags: 2.14tx8.10-21
* Do not use perl4 modules. (Closes: #659423)
* Added support for dpkg-buildflags and hardening.
* Package converted to source format 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef IFMAIL_LUTIL_H
 
2
#define IFMAIL_LUTIL_H
 
3
 
 
4
#define S(x) (x)?(x):"(null)"
 
5
 
 
6
#define DBG_LOCK        4
 
7
#define DBG_AKA         6
 
8
#define DBG_OUTBOUND    7
 
9
#define DBG_CALL        8
 
10
#define DBG_HANDSHAKE   10
 
11
#define DBG_PROTOCOL    11
 
12
#define DBG_FILELIST    12
 
13
#define DBG_NLFLAG      13
 
14
#define DBG_MODEM       18
 
15
#define DBG_NODELIST    20
 
16
#define DBG_HYDRA       26
 
17
 
 
18
extern unsigned long verbose;
 
19
extern char *myname;
 
20
extern int logfacility;
 
21
void setmyname(char*);
 
22
void setnamesfx(char*);
 
23
unsigned long setverbose(char*);
 
24
void debug(unsigned long,char*,...);
 
25
void loginf(char*,...);
 
26
void logerr(char*,...);
 
27
char *date(long);
 
28
char *printable(char*,int);
 
29
char *printablec(char);
 
30
 
 
31
#ifdef DONT_HAVE_GETOPT
 
32
extern int getopt();
 
33
extern char *optarg;
 
34
extern int optind;
 
35
#endif
 
36
 
 
37
#if defined(HAS_TCP) || defined(HAS_TERM)
 
38
#define FIDOPORT  60179         /* my birthday */
 
39
#define BINKPPORT 24554
 
40
#endif
 
41
 
 
42
#define TCPMODE_IFC     0       /* ifcico native EMSI on raw TCP */
 
43
#define TCPMODE_TELNET  1       /* EMSI encapsulation through telnet */
 
44
#define TCPMODE_BINKP   2       /* Binkp protocol */
 
45
 
 
46
#endif /* IFMAIL_LUTIL_H */