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.
20 lines
348 B
C
20 lines
348 B
C
#ifndef __TM_QUEUES_H__
|
|
#define __TM_QUEUES_H__
|
|
|
|
typedef struct Tmq_ {
|
|
char *name;
|
|
uint16_t id;
|
|
uint16_t reader_cnt;
|
|
uint16_t writer_cnt;
|
|
} Tmq;
|
|
|
|
Tmq* TmqCreateQueue(char *name);
|
|
Tmq* TmqGetQueueByName(char *name);
|
|
|
|
void TmqDebugList(void);
|
|
void TmqResetQueues(void);
|
|
void TmValidateQueueState(void);
|
|
|
|
#endif /* __TM_QUEUES_H__ */
|
|
|