Uncrustify maxscale
See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
This commit is contained in:
@ -40,12 +40,12 @@
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
#define HTTPD_SMALL_BUFFER 1024
|
||||
#define HTTPD_METHOD_MAXLEN 128
|
||||
#define HTTPD_USER_MAXLEN 128
|
||||
#define HTTPD_HOSTNAME_MAXLEN 512
|
||||
#define HTTPD_USERAGENT_MAXLEN 1024
|
||||
#define HTTPD_FIELD_MAXLEN 8192
|
||||
#define HTTPD_SMALL_BUFFER 1024
|
||||
#define HTTPD_METHOD_MAXLEN 128
|
||||
#define HTTPD_USER_MAXLEN 128
|
||||
#define HTTPD_HOSTNAME_MAXLEN 512
|
||||
#define HTTPD_USERAGENT_MAXLEN 1024
|
||||
#define HTTPD_FIELD_MAXLEN 8192
|
||||
#define HTTPD_REQUESTLINE_MAXLEN 8192
|
||||
|
||||
/**
|
||||
@ -54,15 +54,17 @@ MXS_BEGIN_DECLS
|
||||
*/
|
||||
typedef struct httpd_session
|
||||
{
|
||||
char user[HTTPD_USER_MAXLEN]; /*< username for authentication*/
|
||||
char *cookies; /*< all input cookies */
|
||||
char hostname[HTTPD_HOSTNAME_MAXLEN]; /*< The hostname */
|
||||
char useragent[HTTPD_USERAGENT_MAXLEN]; /*< The useragent */
|
||||
char method[HTTPD_METHOD_MAXLEN]; /*< The HTTPD Method */
|
||||
char *url; /*< the URL in the request */
|
||||
char *path_info; /*< the Pathinfo, starts with /, is the extra path segments after the document name */
|
||||
char *query_string; /*< the Query string, starts with ?, after path_info and document name */
|
||||
int headers_received; /*< All the headers has been received, if 1 */
|
||||
char user[HTTPD_USER_MAXLEN]; /*< username for authentication*/
|
||||
char* cookies; /*< all input cookies */
|
||||
char hostname[HTTPD_HOSTNAME_MAXLEN]; /*< The hostname */
|
||||
char useragent[HTTPD_USERAGENT_MAXLEN];/*< The useragent */
|
||||
char method[HTTPD_METHOD_MAXLEN]; /*< The HTTPD Method */
|
||||
char* url; /*< the URL in the request */
|
||||
char* path_info; /*< the Pathinfo, starts with /, is the extra path segments after
|
||||
* the document name */
|
||||
char* query_string; /*< the Query string, starts with ?, after path_info and document
|
||||
* name */
|
||||
int headers_received; /*< All the headers has been received, if 1 */
|
||||
} HTTPD_session;
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user