diff options
author | Jörg Mayer <jmayer@loplof.de> | 2009-08-23 06:57:16 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2009-08-23 06:57:16 +0000 |
commit | dfac9e40914a5d8ff53d0572e45e193e676a291d (patch) | |
tree | f6b9f38a6f917fc23dd116ebdc9f090cf44dc0f4 /epan/dissectors/packet-fmp_notify.c | |
parent | 6444abbf7e2b95416a8174fd0331ea7e177ada6d (diff) |
Get rid of a bunch of "warning: redundant redeclaration of" messages.
In that process, include the contents of packet-fmp_notify.h directly
in packet-fmp_notify.c - it wasn't used anywhere else.
svn path=/trunk/; revision=29512
Diffstat (limited to 'epan/dissectors/packet-fmp_notify.c')
-rw-r--r-- | epan/dissectors/packet-fmp_notify.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fmp_notify.c b/epan/dissectors/packet-fmp_notify.c index b41d5ffe95..6be6c88ccb 100644 --- a/epan/dissectors/packet-fmp_notify.c +++ b/epan/dissectors/packet-fmp_notify.c @@ -39,8 +39,26 @@ #include "packet-rpc.h" #include "packet-fmp.h" -#include "packet-fmp_notify.h" +#define FMP_NOTIFY_PROG 1001912 +#define FMP_NOTIFY_VERSION_2 2 + +/* + * FMP/NOTIFY Procedures + */ +#define FMP_NOTIFY_DownGrade 1 +#define FMP_NOTIFY_RevokeList 2 +#define FMP_NOTIFY_RevokeAll 3 +#define FMP_NOTIFY_FileSetEof 4 +#define FMP_NOTIFY_RequestDone 5 +#define FMP_NOTIFY_volFreeze 6 +#define FMP_NOTIFY_revokeHandleList 7 + +typedef enum { + FMP_LIST_USER_QUOTA_EXCEEDED = 0, + FMP_LIST_GROUP_QUOTA_EXCEEDED = 1, + FMP_LIST_SERVER_RESOURCE_LOW = 2 +} revokeHandleListReason; static int proto_fmp_notify = -1; static int hf_fmp_handleListLen = -1; |