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
401 B
C
18 lines
401 B
C
/** Copyright (c) 2009 Open Information Security Foundation.
|
|
* \author Anoop Saldanha <poonaatsoc@gmail.com>
|
|
*/
|
|
|
|
#ifndef __UTIL_ENUM_H__
|
|
#define __UTIL_ENUM_H__
|
|
|
|
typedef struct SCEnumCharMap_ {
|
|
char *enum_name;
|
|
int enum_value;
|
|
} SCEnumCharMap;
|
|
|
|
int SCMapEnumNameToValue(const char *, SCEnumCharMap *);
|
|
|
|
const char * SCMapEnumValueToName(int, SCEnumCharMap *);
|
|
|
|
#endif /* __UTIL_ENUM_H__ */
|