mirror of https://github.com/getdnsapi/getdns.git
Use type and not struct
This commit is contained in:
parent
22c1eb7f3f
commit
8c54142790
|
@ -399,11 +399,11 @@ const char *getdns_get_errorstr_by_id(uint16_t err);
|
|||
|
||||
/* dict util */
|
||||
/* set a string as bindata */
|
||||
getdns_return_t getdns_dict_util_set_string(struct getdns_dict * dict,
|
||||
getdns_return_t getdns_dict_util_set_string(getdns_dict * dict,
|
||||
char *name, const char *value);
|
||||
|
||||
/* get a string from a dict. the result must be freed if valid */
|
||||
getdns_return_t getdns_dict_util_get_string(struct getdns_dict * dict,
|
||||
getdns_return_t getdns_dict_util_get_string(getdns_dict * dict,
|
||||
char *name, char **result);
|
||||
|
||||
/**
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
|
||||
getdns_return_t
|
||||
getdns_dict_util_get_string(struct getdns_dict * dict, char *name, char **result)
|
||||
getdns_dict_util_get_string(getdns_dict * dict, char *name, char **result)
|
||||
{
|
||||
struct getdns_bindata *bindata = NULL;
|
||||
if (!result) {
|
||||
|
|
Loading…
Reference in New Issue