diff options
Diffstat (limited to 'src/lib/libssl/pqueue.h')
-rw-r--r-- | src/lib/libssl/pqueue.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/pqueue.h b/src/lib/libssl/pqueue.h index cdda4a3961..79ddf7a105 100644 --- a/src/lib/libssl/pqueue.h +++ b/src/lib/libssl/pqueue.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pqueue.h,v 1.4 2016/11/04 18:28:58 guenther Exp $ */ | 1 | /* $OpenBSD: pqueue.h,v 1.7 2025/05/04 10:53:38 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * DTLS implementation written by Nagendra Modadugu | 4 | * DTLS implementation written by Nagendra Modadugu |
@@ -61,7 +61,7 @@ | |||
61 | #ifndef HEADER_PQUEUE_H | 61 | #ifndef HEADER_PQUEUE_H |
62 | #define HEADER_PQUEUE_H | 62 | #define HEADER_PQUEUE_H |
63 | 63 | ||
64 | __BEGIN_HIDDEN_DECLS | 64 | __BEGIN_HIDDEN_DECLS |
65 | 65 | ||
66 | typedef struct _pqueue *pqueue; | 66 | typedef struct _pqueue *pqueue; |
67 | 67 | ||
@@ -73,7 +73,7 @@ typedef struct _pitem { | |||
73 | 73 | ||
74 | typedef struct _pitem *piterator; | 74 | typedef struct _pitem *piterator; |
75 | 75 | ||
76 | pitem *pitem_new(unsigned char *prio64be, void *data); | 76 | pitem *pitem_new(const unsigned char *prio64be, void *data); |
77 | void pitem_free(pitem *item); | 77 | void pitem_free(pitem *item); |
78 | 78 | ||
79 | pqueue pqueue_new(void); | 79 | pqueue pqueue_new(void); |
@@ -82,12 +82,12 @@ void pqueue_free(pqueue pq); | |||
82 | pitem *pqueue_insert(pqueue pq, pitem *item); | 82 | pitem *pqueue_insert(pqueue pq, pitem *item); |
83 | pitem *pqueue_peek(pqueue pq); | 83 | pitem *pqueue_peek(pqueue pq); |
84 | pitem *pqueue_pop(pqueue pq); | 84 | pitem *pqueue_pop(pqueue pq); |
85 | pitem *pqueue_find(pqueue pq, unsigned char *prio64be); | 85 | pitem *pqueue_find(pqueue pq, const unsigned char *prio64be); |
86 | pitem *pqueue_iterator(pqueue pq); | 86 | pitem *pqueue_iterator(pqueue pq); |
87 | pitem *pqueue_next(piterator *iter); | 87 | pitem *pqueue_next(piterator *iter); |
88 | 88 | ||
89 | int pqueue_size(pqueue pq); | 89 | int pqueue_size(pqueue pq); |
90 | 90 | ||
91 | __END_HIDDEN_DECLS | 91 | __END_HIDDEN_DECLS |
92 | 92 | ||
93 | #endif /* ! HEADER_PQUEUE_H */ | 93 | #endif /* ! HEADER_PQUEUE_H */ |