Suppress Suri prefix.

pull/467/head
Eric Leblond 13 years ago
parent 42011e2d32
commit 8e68b357c7

@ -116,7 +116,7 @@
void RegisterAllModules(); void RegisterAllModules();
void TmqhSetup (void); void TmqhSetup (void);
int SuriRunUnittests(int list_unittests, char *regex_arg) int RunUnittests(int list_unittests, char *regex_arg)
{ {
#ifdef UNITTESTS #ifdef UNITTESTS
/* Initializations for global vars, queues, etc (memsets, mutex init..) */ /* Initializations for global vars, queues, etc (memsets, mutex init..) */

@ -24,6 +24,6 @@
#ifndef __UTIL_RUNMODE_UNITTESTS_H__ #ifndef __UTIL_RUNMODE_UNITTESTS_H__
#define __UTIL_RUNMODE_UNITTESTS_H__ #define __UTIL_RUNMODE_UNITTESTS_H__
int SuriRunUnittests(int list_unittests, char *regex_arg); int RunUnittests(int list_unittests, char *regex_arg);
#endif /* __UTIL_RUNMODE_UNITTESTS_H__ */ #endif /* __UTIL_RUNMODE_UNITTESTS_H__ */

@ -1478,21 +1478,21 @@ int main(int argc, char **argv)
} }
if (list_keywords) { if (list_keywords) {
return SuriListKeywords(keyword_info); return ListKeywords(keyword_info);
} }
if (list_app_layer_protocols) { if (list_app_layer_protocols) {
return SuriListAppLayerProtocols(); return ListAppLayerProtocols();
} }
#ifdef __SC_CUDA_SUPPORT__ #ifdef __SC_CUDA_SUPPORT__
if (list_cuda_cards) { if (list_cuda_cards) {
return SuriListCudaCards(); return ListCudaCards();
} }
#endif #endif
if (run_mode == RUNMODE_UNITTEST) { if (run_mode == RUNMODE_UNITTEST) {
return SuriRunUnittests(list_unittests, regex_arg); return RunUnittests(list_unittests, regex_arg);
} }
#ifdef REVISION #ifdef REVISION

@ -26,14 +26,14 @@
#include "util-cuda.h" #include "util-cuda.h"
#include "util-unittest.h" #include "util-unittest.h"
int SuriListKeywords(const char *keyword_info) int ListKeywords(const char *keyword_info)
{ {
SigTableSetup(); /* load the rule keywords */ SigTableSetup(); /* load the rule keywords */
SigTableList(keyword_info); SigTableList(keyword_info);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
int SuriListAppLayerProtocols() int ListAppLayerProtocols()
{ {
MpmTableSetup(); MpmTableSetup();
AppLayerDetectProtoThreadInit(); AppLayerDetectProtoThreadInit();
@ -42,7 +42,7 @@ int SuriListAppLayerProtocols()
} }
#ifdef __SC_CUDA_SUPPORT__ #ifdef __SC_CUDA_SUPPORT__
int SuriListCudaCards() int ListCudaCards()
{ {
SCCudaInitCudaEnvironment(); SCCudaInitCudaEnvironment();
SCCudaListCards(); SCCudaListCards();

@ -24,10 +24,10 @@
#define __UTIL_RUNNING_MODES_H__ #define __UTIL_RUNNING_MODES_H__
int SuriListKeywords(const char *keyword_info); int ListKeywords(const char *keyword_info);
int SuriListAppLayerProtocols(); int ListAppLayerProtocols();
#ifdef __SC_CUDA_SUPPORT__ #ifdef __SC_CUDA_SUPPORT__
int SuriListCudaCards(); int ListCudaCards();
#endif #endif
#endif /* __UTIL_RUNNING_MODES_H__ */ #endif /* __UTIL_RUNNING_MODES_H__ */

Loading…
Cancel
Save