summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/scan.h
blob: 758138c613da7da79ffe9be4cd2b942fb6627ae8 (plain)
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
#ifndef SCAN_H
#define SCAN_H

extern unsigned int scan_uint(char *,unsigned int *);
extern unsigned int scan_xint(char *,unsigned int *);
extern unsigned int scan_nbbint(char *,unsigned int,unsigned int,unsigned int,unsigned int *);
extern unsigned int scan_ushort(char *,unsigned short *);
extern unsigned int scan_xshort(char *,unsigned short *);
extern unsigned int scan_nbbshort(char *,unsigned int,unsigned int,unsigned int,unsigned short *);
extern unsigned int scan_ulong(char *,unsigned long *);
extern unsigned int scan_xlong(char *,unsigned long *);
extern unsigned int scan_nbblong(char *,unsigned int,unsigned int,unsigned int,unsigned long *);

extern unsigned int scan_plusminus(char *,int *);
extern unsigned int scan_0x(char *,unsigned int *);

extern unsigned int scan_whitenskip(char *,unsigned int);
extern unsigned int scan_nonwhitenskip(char *,unsigned int);
extern unsigned int scan_charsetnskip(char *,char *,unsigned int);
extern unsigned int scan_noncharsetnskip(char *,char *,unsigned int);

extern unsigned int scan_strncmp(char *,char *,unsigned int);
extern unsigned int scan_memcmp(char *,char *,unsigned int);

extern unsigned int scan_long(char *,long *);
extern unsigned int scan_8long(char *,unsigned long *);

#endif