#include <headers.h>
#include <datatypes.h>
#include <options.h>
#include <utils.h>
Go to the source code of this file.
◆ get_ip()
Definition at line 35 of file iputils.c.
36{
37
38
40
42 return -1;
43
44 while( *
text !=
'\0' )
45 {
47 {
50 continue;
51 }
54
56 }
57
58 return 0;
59}
◆ split_ip()
Definition at line 6 of file iputils.c.
7{
8 int dotcount;
9
10
11
13
15 return -1;
16
19 dotcount++;
20
22 return -2;
23
24 while(( *
text !=
'.' ) && ( *
text !=
'\0' ))
25 {
28
30 }
31
32 return 0;
33}
Referenced by init_leases_list().