Mercurial > masqmail
comparison src/smtp_out.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 | 412385b57dc4 |
children | b27f66555ba8 |
comparison
equal
deleted
inserted
replaced
365:934a223e4ee8 | 366:41958685480d |
---|---|
68 | 68 |
69 smtp_error error; | 69 smtp_error error; |
70 | 70 |
71 } smtp_base; | 71 } smtp_base; |
72 | 72 |
73 gchar *set_heloname(smtp_base * psb, gchar * default_name, gboolean do_correct); | 73 gchar *set_heloname(smtp_base *psb, gchar *default_name, gboolean do_correct); |
74 gboolean set_auth(smtp_base * psb, gchar * name, gchar * login, gchar * secret); | 74 gboolean set_auth(smtp_base *psb, gchar *name, gchar *login, gchar *secret); |
75 void destroy_smtpbase(smtp_base * psb); | 75 void destroy_smtpbase(smtp_base *psb); |
76 smtp_base *smtp_out_open(gchar * host, gint port, GList * resolve_list); | 76 smtp_base *smtp_out_open(gchar *host, gint port, GList *resolve_list); |
77 smtp_base *smtp_out_open_child(gchar * cmd, char* host); | 77 smtp_base *smtp_out_open_child(gchar *cmd, char *host); |
78 gboolean smtp_out_rset(smtp_base * psb); | 78 gboolean smtp_out_rset(smtp_base *psb); |
79 gboolean smtp_out_init(smtp_base * psb, gboolean instant_helo); | 79 gboolean smtp_out_init(smtp_base *psb, gboolean instant_helo); |
80 gint smtp_out_msg(smtp_base * psb, message * msg, address * return_path, GList * rcpt_list, GList * hdr_list); | 80 gint smtp_out_msg(smtp_base *psb, message *msg, address *return_path, GList *rcpt_list, GList *hdr_list); |
81 gboolean smtp_out_quit(smtp_base * psb); | 81 gboolean smtp_out_quit(smtp_base *psb); |
82 | 82 |
83 gint smtp_deliver(gchar * host, gint port, GList * resolve_list, message * msg, address * return_path, GList * rcpt_list); | 83 gint smtp_deliver(gchar *host, gint port, GList *resolve_list, message *msg, address *return_path, GList *rcpt_list); |