comparison signkey.h @ 1276:9169e4e7cbee

fix empty C prototypes
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 16:30:31 +0100
parents deed0571cacc
children 750ec4ec4cbe
comparison
equal deleted inserted replaced
1275:d49bda490798 1276:9169e4e7cbee
80 #endif 80 #endif
81 }; 81 };
82 82
83 typedef struct SIGN_key sign_key; 83 typedef struct SIGN_key sign_key;
84 84
85 sign_key * new_sign_key(); 85 sign_key * new_sign_key(void);
86 const char* signkey_name_from_type(enum signkey_type type, unsigned int *namelen); 86 const char* signkey_name_from_type(enum signkey_type type, unsigned int *namelen);
87 enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen); 87 enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen);
88 int buf_get_pub_key(buffer *buf, sign_key *key, enum signkey_type *type); 88 int buf_get_pub_key(buffer *buf, sign_key *key, enum signkey_type *type);
89 int buf_get_priv_key(buffer* buf, sign_key *key, enum signkey_type *type); 89 int buf_get_priv_key(buffer* buf, sign_key *key, enum signkey_type *type);
90 void buf_put_pub_key(buffer* buf, sign_key *key, enum signkey_type type); 90 void buf_put_pub_key(buffer* buf, sign_key *key, enum signkey_type type);