Skip to content

Commit

Permalink
Suppress Suri prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Jul 29, 2013
1 parent 42011e2 commit 8e68b35
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/runmode-unittests.c
Original file line number Diff line number Diff line change
Expand Up @@ -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..) */
Expand Down
2 changes: 1 addition & 1 deletion src/runmode-unittests.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
8 changes: 4 additions & 4 deletions src/suricata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/util-running-modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -42,7 +42,7 @@ int SuriListAppLayerProtocols()
}

#ifdef __SC_CUDA_SUPPORT__
int SuriListCudaCards()
int ListCudaCards()
{
SCCudaInitCudaEnvironment();
SCCudaListCards();
Expand Down
6 changes: 3 additions & 3 deletions src/util-running-modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 8e68b35

Please sign in to comment.