"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/util.h" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

About: Snort is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

util.h  (snort-2.9.16.1):util.h  (snort-2.9.17)
skipping to change at line 193 skipping to change at line 193
#endif #endif
void LogMessage(const char *, ...) __attribute__((format (printf, 1, 2))); void LogMessage(const char *, ...) __attribute__((format (printf, 1, 2)));
void WarningMessage(const char *, ...) __attribute__((format (printf, 1, 2))); void WarningMessage(const char *, ...) __attribute__((format (printf, 1, 2)));
void ErrorMessage(const char *, ...) __attribute__((format (printf, 1, 2))); void ErrorMessage(const char *, ...) __attribute__((format (printf, 1, 2)));
typedef struct _ThrottleInfo typedef struct _ThrottleInfo
{ {
time_t lastUpdate; time_t lastUpdate;
/*Within this duration (in seconds), maximal one distinct message is logged* / /*Within this duration (in seconds), maximal one distinct message is logged* /
uint32_t duration_to_log; uint32_t duration_to_log;
uint64_t count; uint64_t count;
/*Till the message count reaches to count_to_log, maximal one distinct messa
ge is logged*/
uint64_t count_to_log;
}ThrottleInfo; }ThrottleInfo;
void ErrorMessageThrottled(ThrottleInfo*,const char *, ...) __attribute__((forma t (printf, 2, 3))); void ErrorMessageThrottled(ThrottleInfo*,const char *, ...) __attribute__((forma t (printf, 2, 3)));
void LogThrottledByTimeCount(ThrottleInfo*,const char *, ...) __attribute__((for mat (printf, 2, 3)));
NORETURN void FatalError(const char *, ...) __attribute__((format (printf, 1, 2) )); NORETURN void FatalError(const char *, ...) __attribute__((format (printf, 1, 2) ));
NORETURN void SnortFatalExit(void); NORETURN void SnortFatalExit(void);
int SnortSnprintf(char *, size_t, const char *, ...) __attribute__((format (prin tf, 3, 4))); int SnortSnprintf(char *, size_t, const char *, ...) __attribute__((format (prin tf, 3, 4)));
int SnortSnprintfAppend(char *, size_t, const char *, ...) __attribute__((format (printf, 3, 4))); int SnortSnprintfAppend(char *, size_t, const char *, ...) __attribute__((format (printf, 3, 4)));
char *SnortStrdup(const char *); char *SnortStrdup(const char *);
int SnortStrncpy(char *, const char *, size_t); int SnortStrncpy(char *, const char *, size_t);
char *SnortStrndup(const char *, size_t); char *SnortStrndup(const char *, size_t);
int SnortStrnlen(const char *, int); int SnortStrnlen(const char *, int);
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)