Debian Codegraph @

include/queue.h

raw symbols SCIP
1 /*
2 * AIDE (Advanced Intrusion Detection Environment)
3 *
4 * Copyright (C) 2022-2023,2025 Hannes von Haugwitz
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 #ifndef _QUEUE_H_INCLUDED
22 #define _QUEUE_H_INCLUDED
23
24 #include <stdbool.h>
25
26 typedef struct queue_s queue_ts_t;
27
28 queue_ts_t *queue_ts_init(void);
29 void queue_ts_free(queue_ts_t *);
30 bool queue_ts_enqueue(queue_ts_t * const, void * const, const char *);
31 void *queue_ts_dequeue_wait(queue_ts_t * const, const char *);
32 void queue_ts_register(queue_ts_t * const, const char *);
33 void queue_ts_release(queue_ts_t * const, const char *);
34
35 #endif