d3d10/effect: Use case-insensitive comparison in GetMemberTypeBySemantic().
[wine.git] / dlls / wpcap / unixlib.h
blob71ee298e689204f239c6e4478daf23b28a28351e
1 /*
2 * Copyright 2011, 2014 André Hentschel
3 * Copyright 2021 Hans Leidekker for CodeWeavers
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 struct pcap_if_hdr
22 struct pcap_if_hdr *next;
23 char *name;
26 struct handler_callback
28 void (CALLBACK *callback)( unsigned char *, const void *, const unsigned char * );
29 void *user;
32 struct pcap_funcs
34 int (CDECL *activate)( void * );
35 void (CDECL *breakloop)( void * );
36 int (CDECL *can_set_rfmon)( void * );
37 void (CDECL *close)( void * );
38 int (CDECL *compile)( void *, void *, const char *, int, unsigned int );
39 void * (CDECL *create)( const char *, char * );
40 int (CDECL *datalink)( void * );
41 int (CDECL *datalink_name_to_val)( const char * );
42 const char * (CDECL *datalink_val_to_description)( int );
43 const char * (CDECL *datalink_val_to_name)( int );
44 int (CDECL *dispatch)( void *, int, void (CALLBACK *)(unsigned char *, const void *, const unsigned char *),
45 unsigned char * );
46 void (CDECL *dump)( unsigned char *, const void *, const unsigned char * );
47 void * (CDECL *dump_open)( void *, const char * );
48 int (CDECL *findalldevs)( struct pcap_if_hdr **, char * );
49 void (CDECL *free_datalinks)( int * );
50 void (CDECL *free_tstamp_types)( int * );
51 void (CDECL *freealldevs)( struct pcap_if_hdr * );
52 void (CDECL *freecode)( void * );
53 int (CDECL *get_tstamp_precision)( void * );
54 char * (CDECL *geterr)( void * );
55 int (CDECL *getnonblock)( void *, char * );
56 const char * (CDECL *lib_version)( void );
57 int (CDECL *list_datalinks)( void *, int ** );
58 int (CDECL *list_tstamp_types)( void *, int ** );
59 int (CDECL *lookupnet)( const char *, unsigned int *, unsigned int *, char * );
60 int (CDECL *loop)( void *, int, void (CALLBACK *)(unsigned char *, const void *, const unsigned char *),
61 unsigned char * );
62 int (CDECL *major_version)( void * );
63 int (CDECL *minor_version)( void * );
64 const unsigned char * (CDECL *next)( void *, void * );
65 int (CDECL *next_ex)( void *, void **, const unsigned char ** );
66 void * (CDECL *open_live)( const char *, int, int, int, char * );
67 int (CDECL *sendpacket)( void *, const unsigned char *, int );
68 int (CDECL *set_buffer_size)( void *, int );
69 int (CDECL *set_datalink)( void *, int );
70 int (CDECL *set_promisc)( void *, int );
71 int (CDECL *set_rfmon)( void *, int );
72 int (CDECL *set_snaplen)( void *, int );
73 int (CDECL *set_timeout)( void *, int );
74 int (CDECL *set_tstamp_precision)( void *, int );
75 int (CDECL *set_tstamp_type)( void *, int );
76 int (CDECL *setfilter)( void *, void * );
77 int (CDECL *setnonblock)( void *, int, char * );
78 int (CDECL *snapshot)( void * );
79 int (CDECL *stats)( void *, void * );
80 const char * (CDECL *statustostr)( int );
81 int (CDECL *tstamp_type_name_to_val)( const char * );
82 const char * (CDECL *tstamp_type_val_to_description)( int );
83 const char * (CDECL *tstamp_type_val_to_name)( int );
86 struct pcap_callbacks
88 void (CDECL *handler)( struct handler_callback *, const void *, const unsigned char * );