chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.6
[secnet.git]
/
util.h
diff --git
a/util.h
b/util.h
index a43cb088984eb7ca5c756c87b16b17c80b1e9e2c..d272a59aaf1a333cfc2db4c503b8a81f2c3e588d 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-7,15
+7,9
@@
#ifndef util_h
#define util_h
#ifndef util_h
#define util_h
-#include <stdlib.h>
-#include <stdint.h>
#include "secnet.h"
#include "secnet.h"
-#include "config.h"
#include <gmp.h>
#include <gmp.h>
-extern uint32_t message_level;
-extern uint32_t syslog_level;
-
#define BUF_ASSERT_FREE(buf) do { buffer_assert_free((buf), \
__FILE__,__LINE__); } \
while(0)
#define BUF_ASSERT_FREE(buf) do { buffer_assert_free((buf), \
__FILE__,__LINE__); } \
while(0)
@@
-40,8
+34,6
@@
extern void *buf_unprepend(struct buffer_if *buf, uint32_t amount);
extern void buf_append_string(struct buffer_if *buf, string_t s);
extern void buf_append_string(struct buffer_if *buf, string_t s);
-extern void enter_phase(uint32_t new_phase);
-
extern void read_mpbin(MP_INT *a, uint8_t *bin, int binsize);
extern char *write_mpstring(MP_INT *a);
extern void read_mpbin(MP_INT *a, uint8_t *bin, int binsize);
extern char *write_mpstring(MP_INT *a);