mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 14:46:58 +08:00
Whitespace cleanup lwIP
This commit is contained in:
@@ -880,7 +880,7 @@ altcp_tls_free_config(struct altcp_tls_config *conf)
|
||||
}
|
||||
if (conf->ca) {
|
||||
mbedtls_x509_crt_free(conf->ca);
|
||||
}
|
||||
}
|
||||
altcp_mbedtls_free_config(conf);
|
||||
}
|
||||
|
||||
|
||||
@@ -334,4 +334,3 @@ FS_FILE_FLAGS_HEADER_INCLUDED | FS_FILE_FLAGS_HEADER_PERSISTENT,
|
||||
|
||||
#define FS_ROOT file__index_html
|
||||
#define FS_NUMFILES 3
|
||||
|
||||
|
||||
@@ -614,7 +614,7 @@ httpc_init_connection_addr(httpc_state_t **connection, const httpc_connection_t
|
||||
}
|
||||
|
||||
/**
|
||||
* @ingroup httpc
|
||||
* @ingroup httpc
|
||||
* HTTP client API: get a file by passing server IP address
|
||||
*
|
||||
* @param server_addr IP address of the server to connect
|
||||
@@ -659,7 +659,7 @@ httpc_get_file(const ip_addr_t* server_addr, u16_t port, const char* uri, const
|
||||
}
|
||||
|
||||
/**
|
||||
* @ingroup httpc
|
||||
* @ingroup httpc
|
||||
* HTTP client API: get a file by passing server name as string (DNS name or IP address string)
|
||||
*
|
||||
* @param server_name server name as string (DNS name or IP address string)
|
||||
@@ -801,7 +801,7 @@ httpc_fs_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err)
|
||||
}
|
||||
|
||||
/**
|
||||
* @ingroup httpc
|
||||
* @ingroup httpc
|
||||
* HTTP client API: get a file to disk by passing server IP address
|
||||
*
|
||||
* @param server_addr IP address of the server to connect
|
||||
@@ -853,7 +853,7 @@ httpc_get_file_to_disk(const ip_addr_t* server_addr, u16_t port, const char* uri
|
||||
}
|
||||
|
||||
/**
|
||||
* @ingroup httpc
|
||||
* @ingroup httpc
|
||||
* HTTP client API: get a file to disk by passing server name as string (DNS name or IP address string)
|
||||
*
|
||||
* @param server_name server name as string (DNS name or IP address string)
|
||||
|
||||
@@ -233,7 +233,7 @@ struct http_ssi_state {
|
||||
|
||||
struct http_ssi_tag_description {
|
||||
const char *lead_in;
|
||||
const char *lead_out;
|
||||
const char *lead_out;
|
||||
};
|
||||
|
||||
#endif /* LWIP_HTTPD_SSI */
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* @file
|
||||
* SMTP client module
|
||||
*
|
||||
*
|
||||
* Author: Simon Goldschmidt
|
||||
*
|
||||
* @defgroup smtp SMTP client
|
||||
* @ingroup apps
|
||||
*
|
||||
*
|
||||
* This is simple SMTP client for raw API.
|
||||
* It is a minimal implementation of SMTP as specified in RFC 5321.
|
||||
*
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
* When using from any other thread than the tcpip_thread (for NO_SYS==0), use
|
||||
* smtp_send_mail_int()!
|
||||
*
|
||||
*
|
||||
* SMTP_BODYDH usage:
|
||||
@code{.c}
|
||||
int my_smtp_bodydh_fn(void *arg, struct smtp_bodydh *bdh)
|
||||
@@ -42,11 +42,11 @@
|
||||
++bdh->state;
|
||||
return BDH_WORKING;
|
||||
}
|
||||
|
||||
smtp_send_mail_bodycback("sender", "recipient", "subject",
|
||||
|
||||
smtp_send_mail_bodycback("sender", "recipient", "subject",
|
||||
my_smtp_bodydh_fn, my_smtp_result_fn, some_argument);
|
||||
@endcode
|
||||
*
|
||||
*
|
||||
* @todo:
|
||||
* - attachments (the main difficulty here is streaming base64-encoding to
|
||||
* prevent having to allocate a buffer for the whole encoded file at once)
|
||||
|
||||
Reference in New Issue
Block a user