JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
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
15tList* read_ipaddr_file(char* fn);
16tList* read_ipaddr_fp(FILE* fp);
18
19int is_host_in_list(tList* lp, unsigned char*, char* host);
20int is_ipaddr_num_in_list(tList* lp, unsigned char* ipnum);
21
22void print_address_in_list(FILE* fp, tList* lp);
23
24
25#endif
26
int is_ipaddr_num_in_list(tList *lp, unsigned char *ipnum)
tList * read_ipaddr_fp(FILE *fp)
tList * to_ipaddress_list(tList *lp)
tList * read_ipaddr_file(char *fn)
void print_address_in_list(FILE *fp, tList *lp)
int is_host_in_list(tList *lp, unsigned char *, char *host)
ネットワーク用ライブラリヘッダ for IPv4/IPv6
Tiny List 構造ライブラリヘッダ