X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fms_setting.h;h=4bab2b99d259e3b1b15fb4431778a7ea4000a83a;hb=c8b9a1330aaf70eb9e820a3a48799c6baf606a4a;hp=d8ccf8bbf42a753730c2bc8b0beffba3664a571c;hpb=fe5b4854b046a8b0613c89303b04d7e60e4c8223;p=awesomized%2Flibmemcached diff --git a/clients/ms_setting.h b/clients/ms_setting.h index d8ccf8bb..4bab2b99 100644 --- a/clients/ms_setting.h +++ b/clients/ms_setting.h @@ -47,7 +47,7 @@ typedef struct token_s #define MAX_TOKENS 10 /* server information */ -typedef struct mcd_sever +typedef struct mcd_server { char srv_host_name[MCD_HOST_LENGTH]; /* host name of server */ int srv_port; /* server port */ @@ -88,7 +88,7 @@ typedef enum cmd_type { CMD_SET, CMD_GET, - CMD_NULL, + CMD_NULL } ms_cmd_type_t; /* types in the configuration file */ @@ -97,7 +97,7 @@ typedef enum conf_type CONF_KEY, CONF_VALUE, CONF_CMD, - CONF_NULL, + CONF_NULL } ms_conf_type_t; /* information of command distribution */ @@ -153,7 +153,7 @@ typedef struct setting bool verbose; /* whether it outputs detailed information when verification */ bool facebook_test; /* facebook test, TCP set and multi-get with UDP */ uint32_t sock_per_conn; /* number of socks per connection structure */ - bool binary_prot; /* whether it use binary protocol */ + bool binary_prot_; /* whether it use binary protocol */ int expected_tps; /* expected throughput */ uint32_t rep_write_srv; /* which servers are used to do replication writing */ } ms_setting_st;