JunkBox_Lib  1.10.2
ipaddr_tool.h
Go to the documentation of this file.
1 #ifndef __JBXL_IP_ADDRESS_TOOL_H_
2 #define __JBXL_IP_ADDRESS_TOOL_H_
3 
11 #include "network.h"
12 #include "tlist.h"
13 
14 
15 tList* read_ipaddr_file(char* fn);
16 tList* read_ipaddr_fp(FILE* fp);
18 
19 int is_host_in_list(tList* lp, unsigned char*, char* host);
20 int is_ipaddr_num_in_list(tList* lp, unsigned char* ipnum);
21 
22 void print_address_in_list(FILE* fp, tList* lp);
23 
24 
25 #endif
26 
int is_ipaddr_num_in_list(tList *lp, unsigned char *ipnum)
Definition: ipaddr_tool.c:181
tList * read_ipaddr_file(char *fn)
Definition: ipaddr_tool.c:25
tList * to_ipaddress_list(tList *lp)
Definition: ipaddr_tool.c:83
tList * read_ipaddr_fp(FILE *fp)
Definition: ipaddr_tool.c:55
void print_address_in_list(FILE *fp, tList *lp)
Definition: ipaddr_tool.c:211
int is_host_in_list(tList *lp, unsigned char *, char *host)
Definition: ipaddr_tool.c:143
ネットワーク用ライブラリヘッダ for IPv4/IPv6
Tiny List 構造ライブラリヘッダ