File: libinn.h

package info (click to toggle)
ifmail 2.14tx8.10-32
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,056 kB
  • sloc: ansic: 30,328; perl: 4,955; yacc: 839; makefile: 716; sh: 424; cpp: 235; lex: 206; awk: 24
file content (64 lines) | stat: -rw-r--r-- 1,497 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*  $Revision: 1.14 $
**
**  Here be declarations of functions in the InterNetNews library.
*/

/* Memory allocation. */
    /* Worst-case alignment, in order to shut lint up. */
    /* =()<typedef @<ALIGNPTR>@	*ALIGNPTR;>()= */
typedef int	*ALIGNPTR;
extern ALIGNPTR	xmalloc();
extern ALIGNPTR	xrealloc();

/* Headers. */
extern char	*GenerateMessageID();
extern char	*HeaderFind();
extern void	HeaderCleanFrom();

extern struct _DDHANDLE	*DDstart();
extern void		DDcheck();
extern char		*DDend();

/* NNTP functions. */
extern int	NNTPlocalopen();
extern int	NNTPremoteopen();
extern int	NNTPconnect();
extern int	NNTPsendarticle();
extern int	NNTPsendpassword();

/* Opening the active file on a client. */
extern FILE	*CAopen();
extern FILE	*CAlistopen();
extern void	CAclose();

/* Parameter retrieval. */
extern char	*GetFQDN();
extern char	*GetConfigValue();
extern char	*GetFileConfigValue();
extern char	*GetModeratorAddress();

/* Time functions. */
typedef struct _TIMEINFO {
    time_t	time;
    long	usec;
    long	tzone;
} TIMEINFO;
extern time_t	parsedate();
extern int	GetTimeInfo();

/* Miscellaneous. */
extern int	getfdcount();
extern int	wildmat();
extern int	waitnb();
extern int	xread();
extern int	xwrite();
extern int	xwritev();
extern int	LockFile();
extern int	GetResourceUsage();
extern int	SetNonBlocking();
extern void	CloseOnExec();
extern void	Radix32();
extern char	*INNVersion();
extern char	*ReadInDescriptor();
extern char	*ReadInFile();
extern FILE	*xfopena();