masqmail

diff 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
line diff
     1.1 --- a/src/lookup.h	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/lookup.h	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  typedef GList *(*resolve_func) (GList *, gchar *);
     1.6  
     1.7 -GList *resolve_dns_a(GList * list, gchar * domain);
     1.8 -GList *resolve_dns_mx(GList * list, gchar * domain);
     1.9 -GList *resolve_byname(GList * list, gchar * domain);
    1.10 -int dns_look_ip(gchar * domain, guint32 * ip);
    1.11 +GList *resolve_dns_a(GList *list, gchar *domain);
    1.12 +GList *resolve_dns_mx(GList *list, gchar *domain);
    1.13 +GList *resolve_byname(GList *list, gchar *domain);
    1.14 +int dns_look_ip(gchar *domain, guint32 *ip);