diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-10 18:36:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-10 18:36:08 +0300 |
commit | d34a80f41a4bdae108d5f77e3397bc893fbacf6e (patch) | |
tree | a7e3500c16d2867c6ac657952fb11286606f8913 /include/openssl/pqueue.h | |
parent | 75b344c4c8b4148602279b51bc2cc5d45b03c324 (diff) |
update to openssl headers from version 1.0.2m
Diffstat (limited to 'include/openssl/pqueue.h')
-rw-r--r-- | include/openssl/pqueue.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/include/openssl/pqueue.h b/include/openssl/pqueue.h index d0548af94d..63933aa41d 100644 --- a/include/openssl/pqueue.h +++ b/include/openssl/pqueue.h @@ -58,31 +58,30 @@ */
#ifndef HEADER_PQUEUE_H
-#define HEADER_PQUEUE_H
+# define HEADER_PQUEUE_H
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+# include <stdio.h>
+# include <stdlib.h>
+# include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _pqueue *pqueue;
-typedef struct _pitem
- {
- unsigned char priority[8]; /* 64-bit value in big-endian encoding */
- void *data;
- struct _pitem *next;
- } pitem;
+typedef struct _pitem {
+ unsigned char priority[8]; /* 64-bit value in big-endian encoding */
+ void *data;
+ struct _pitem *next;
+} pitem;
typedef struct _pitem *piterator;
pitem *pitem_new(unsigned char *prio64be, void *data);
-void pitem_free(pitem *item);
+void pitem_free(pitem *item);
pqueue pqueue_new(void);
-void pqueue_free(pqueue pq);
+void pqueue_free(pqueue pq);
pitem *pqueue_insert(pqueue pq, pitem *item);
pitem *pqueue_peek(pqueue pq);
@@ -91,10 +90,10 @@ pitem *pqueue_find(pqueue pq, unsigned char *prio64be); pitem *pqueue_iterator(pqueue pq);
pitem *pqueue_next(piterator *iter);
-void pqueue_print(pqueue pq);
-int pqueue_size(pqueue pq);
+void pqueue_print(pqueue pq);
+int pqueue_size(pqueue pq);
#ifdef __cplusplus
}
#endif
-#endif /* ! HEADER_PQUEUE_H */
+#endif /* ! HEADER_PQUEUE_H */
|