summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-20 10:56:23 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-20 10:56:23 +0200
commitc405a7d93341d2c13167e8ab834c68f7b035a8bb (patch)
tree67bb1f0f3e5cbeee3fc4cf66c24d0f7bd2b38fff /config.h
parent031b79e3c66de6151dd40cc5067d3fac76e1e7f4 (diff)
Some callback naming consistency
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h b/config.h
index 4e43e7b..0c28e0a 100644
--- a/config.h
+++ b/config.h
@@ -18,7 +18,7 @@ enum cfg_value_type {
struct dns_async;
-typedef void (dns_callback_t)(struct dns_async *);
+typedef void (dns_cb_t)(struct dns_async *);
struct dns_async {
char name[FQDN_STR_LEN + 1];
@@ -26,7 +26,7 @@ struct dns_async {
struct addrinfo req;
struct gaicb gcb;
struct sigevent sev;
- dns_callback_t *callback;
+ dns_cb_t *cb;
void *priv;
struct list_head list;
};