diff options
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/netutils/smtp.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/apps/include/netutils/smtp.h b/apps/include/netutils/smtp.h index 05b4d543e..cb344b9df 100644 --- a/apps/include/netutils/smtp.h +++ b/apps/include/netutils/smtp.h @@ -52,23 +52,28 @@ ****************************************************************************/ /**************************************************************************** - * Public Function Prototypes + * Public Data ****************************************************************************/ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif -EXTERN void *smtp_open(void); -EXTERN void smtp_configure(void *handle, const char *localhostname, - const uip_ipaddr_t *paddr); -EXTERN int smtp_send(void *handle, const char *to, const char *cc, - const char *from, const char *subject, - const char *msg, int msglen); -EXTERN void smtp_close(void *handle); +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +void *smtp_open(void); +void smtp_configure(FAR void *handle, FAR const char *localhostname, + FAR const net_ipaddr_t *paddr); +int smtp_send(FAR void *handle, FAR const char *to, FAR const char *cc, + FAR const char *from, FAR const char *subject, + FAR const char *msg, int msglen); +void smtp_close(FAR void *handle); #undef EXTERN #ifdef __cplusplus |