#include <string.h> and/or #include <stdio.h> not needed.
[obnox/wireshark/wip.git] / epan / dissectors / packet-nlm.h
1 /* packet-nlm.h (c) 1999 Uwe Girlich */
2 /* $Id$ 
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21  */
22
23 #ifndef __PACKET_NLM_H__
24 #define __PACKET_NLM_H__
25
26 #define NLM_PROGRAM 100021
27
28 /* synchronous procedures */
29 #define NLM_NULL                0
30 #define NLM_TEST                1
31 #define NLM_LOCK                2
32 #define NLM_CANCEL              3
33 #define NLM_UNLOCK              4
34 #define NLM_GRANTED             5
35
36 /* asynchronous requests */
37 #define NLM_TEST_MSG            6
38 #define NLM_LOCK_MSG            7
39 #define NLM_CANCEL_MSG          8
40 #define NLM_UNLOCK_MSG          9
41 #define NLM_GRANTED_MSG         10
42
43 /* asynchronous responses */
44 #define NLM_TEST_RES            11
45 #define NLM_LOCK_RES            12
46 #define NLM_CANCEL_RES          13
47 #define NLM_UNLOCK_RES          14
48 #define NLM_GRANTED_RES         15
49
50 /* 16-19 not assigned */
51
52 /* DOS file sharing */
53 #define NLM_SHARE               20
54 #define NLM_UNSHARE             21
55 #define NLM_NM_LOCK             22
56 #define NLM_FREE_ALL            23
57
58 #endif /* packet-nlm.h */
59