File: parse_ip.h

package info (click to toggle)
nat 1:1.0-6
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 524 kB
  • ctags: 1,528
  • sloc: ansic: 9,771; makefile: 79
file content (13 lines) | stat: -rw-r--r-- 218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/types.h>

/*
 * Used for storing the list of IP addresses returned and used by
 * the parse_ip function.
 */
struct ipstr {
   char *name;
   struct ipstr *next;
};

struct ipstr *parse_ip(char *input);