masqmail-0.2

diff src/lookup.h @ 10:26e34ae9a3e3

changed indention and line wrapping to a more consistent style
author meillo@marmaro.de
date Mon, 27 Oct 2008 16:23:10 +0100
parents 08114f7dcc23
children
line diff
     1.1 --- a/src/lookup.h	Mon Oct 27 16:21:27 2008 +0100
     1.2 +++ b/src/lookup.h	Mon Oct 27 16:23:10 2008 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4   * it under the terms of the GNU General Public License as published by
     1.5   * the Free Software Foundation; either version 2 of the License, or
     1.6   * (at your option) any later version.
     1.7 - * 
     1.8 + *
     1.9   * This program is distributed in the hope that it will be useful,
    1.10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.12 @@ -18,16 +18,15 @@
    1.13  
    1.14  #define MAX_DNSNAME MAXDNAME
    1.15  
    1.16 -typedef
    1.17 -struct{
    1.18 -  guint32 ip;
    1.19 -  int pref;
    1.20 -  guchar *name;
    1.21 +typedef struct {
    1.22 +	guint32 ip;
    1.23 +	int pref;
    1.24 +	guchar *name;
    1.25  } mxip_addr;
    1.26  
    1.27  
    1.28 -typedef GList *(*resolve_func)(GList *, gchar *);
    1.29 +typedef GList *(*resolve_func) (GList *, gchar *);
    1.30  
    1.31 -GList *resolve_dns_a(GList *list, gchar *domain);
    1.32 -GList *resolve_dns_mx(GList *list, gchar *domain);
    1.33 -GList *resolve_byname(GList *list, gchar *domain);
    1.34 +GList *resolve_dns_a(GList * list, gchar * domain);
    1.35 +GList *resolve_dns_mx(GList * list, gchar * domain);
    1.36 +GList *resolve_byname(GList * list, gchar * domain);