File: show_if.h

package info (click to toggle)
netdiag 1.2-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,268 kB
  • sloc: ansic: 23,895; sh: 5,544; makefile: 328; awk: 130
file content (23 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *	Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
 *
 * Redistribution and use in source forms, with and without modification,
 * are permitted provided that this entire comment appears intact.
 *
 * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
 */

#ifndef	_SHOW_IF_H_
#define	_SHOW_IF_H_

#define	SHOW_IF_NAME	15
#define	SHOW_IF_ADDR	45
#define	SHOW_IF_DESCR	20

struct selector;
struct pcap_handler;
struct selector *show_if_list(struct pcap_handler *list);
struct selector *show_if_selector();
int show_if_search(struct pcap_handler *list, const char *str);

#endif	/* !_SHOW_IF_H_ */