Suppress Suri prefix.

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

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

@ -24,6 +24,6 @@
#ifndef __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__ */

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

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

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

Loading…
Cancel
Save