mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
386 B
C
18 lines
386 B
C
16 years ago
|
/** Copyright (c) 2009 Open Information Security Foundation.
|
||
|
* \author Anoop Saldanha <poonaatsoc@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#ifndef __ENUM_H__
|
||
|
#define __ENUM_H__
|
||
|
|
||
|
typedef struct _SCEnumCharMap {
|
||
|
char *enum_name;
|
||
|
int enum_value;
|
||
|
} SCEnumCharMap;
|
||
|
|
||
|
int SCMapEnumNameToValue(const char *, SCEnumCharMap *);
|
||
|
|
||
|
const char * SCMapEnumValueToName(int, SCEnumCharMap *);
|
||
|
|
||
|
#endif /* __ENUM_H__ */
|