/usr/include/grits/gpqueue.h is in libgrits-dev 0.8.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #ifndef __G_PQUEUE_H__
#define __G_PQUEUE_H__
G_BEGIN_DECLS
typedef struct _GPQueueNode GPQueueNode;
/**
* GPQueue:
*
* An opaque structure representing a priority queue.
*
* Since: 2.x
**/
typedef struct _GPQueue GPQueue;
/**
* GPQueueHandle:
*
* An opaque value representing one entry in a #GPQueue.
*
* Since: 2.x
**/
typedef GPQueueNode* GPQueueHandle;
GPQueue* g_pqueue_new (GCompareDataFunc compare_func,
gpointer *compare_userdata);
void g_pqueue_free (GPQueue* pqueue);
gboolean g_pqueue_is_empty (GPQueue *pqueue);
void g_pqueue_foreach (GPQueue *pqueue,
GFunc func,
gpointer user_data);
GPtrArray* g_pqueue_get_array (GPQueue *pqueue);
GPQueueHandle g_pqueue_push (GPQueue *pqueue,
gpointer data);
gpointer g_pqueue_peek (GPQueue *pqueue);
gpointer g_pqueue_pop (GPQueue *pqueue);
void g_pqueue_remove (GPQueue* pqueue,
GPQueueHandle entry);
void g_pqueue_priority_changed (GPQueue* pqueue,
GPQueueHandle entry);
void g_pqueue_priority_decreased (GPQueue* pqueue,
GPQueueHandle entry);
void g_pqueue_clear (GPQueue* pqueue);
G_END_DECLS
#endif /* __G_PQUEUE_H__ */
|