Mercurial > masqmail
comparison src/lookup.h @ 366:41958685480d
Switched to `type *name' style
Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced
me that it is best to go with the way C had been designed.
The ``declaration reflects use'' concept conflicts with a
``type* name'' notation. Hence I switched.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 22 Sep 2011 15:07:40 +0200 |
parents | 116b0269c934 |
children | b27f66555ba8 |
comparison
equal
deleted
inserted
replaced
365:934a223e4ee8 | 366:41958685480d |
---|---|
25 } mxip_addr; | 25 } mxip_addr; |
26 | 26 |
27 | 27 |
28 typedef GList *(*resolve_func) (GList *, gchar *); | 28 typedef GList *(*resolve_func) (GList *, gchar *); |
29 | 29 |
30 GList *resolve_dns_a(GList * list, gchar * domain); | 30 GList *resolve_dns_a(GList *list, gchar *domain); |
31 GList *resolve_dns_mx(GList * list, gchar * domain); | 31 GList *resolve_dns_mx(GList *list, gchar *domain); |
32 GList *resolve_byname(GList * list, gchar * domain); | 32 GList *resolve_byname(GList *list, gchar *domain); |
33 int dns_look_ip(gchar * domain, guint32 * ip); | 33 int dns_look_ip(gchar *domain, guint32 *ip); |