@@ -51,7 +51,8 @@ innodb_initialize(
5151/*==============*/
5252 ENGINE_HANDLE * handle , /*!< in/out: InnoDB memcached
5353 engine */
54- const char * config_str ); /*!< in: configure string */
54+ const char * config_str /*!< in: configure string */
55+ );
5556
5657/*******************************************************************/ /**
5758Allocate gets a struct item from the slab allocator, and fills in
@@ -69,7 +70,8 @@ innodb_allocate(
6970 const size_t nkey , /*!< in: key length */
7071 const size_t nbytes , /*!< in: value length */
7172 const int flags , /*!< in: flag */
72- const rel_time_t exptime ); /*!< in: expiration time */
73+ const rel_time_t exptime /*!< in: expiration time */
74+ );
7375
7476/*******************************************************************/ /**
7577Cleanup connections
@@ -83,8 +85,9 @@ innodb_remove(
8385 const void * key , /*!< in: key value */
8486 const size_t nkey , /*!< in: key length */
8587 uint64_t cas , /*!< in: cas */
86- uint16_t vbucket ); /*!< in: bucket, used by default
88+ uint16_t vbucket /*!< in: bucket, used by default
8789 engine only */
90+ );
8891
8992/*******************************************************************/ /**
9093bind table
@@ -96,7 +99,8 @@ innodb_bind(
9699 ENGINE_HANDLE * handle , /*!< in: Engine handle */
97100 const void * cookie , /*!< in: connection cookie */
98101 const void * name , /*!< in: table ID name */
99- const size_t name_len ); /*!< in: name length */
102+ const size_t name_len /*!< in: name length */
103+ );
100104
101105/*******************************************************************/ /**
102106release */
@@ -106,7 +110,8 @@ innodb_release(
106110/*===========*/
107111 ENGINE_HANDLE * handle , /*!< in: Engine handle */
108112 const void * cookie , /*!< in: connection cookie */
109- item * item ); /*!< in: item to free */
113+ item * item /*!< in: item to free */
114+ );
110115
111116/*******************************************************************/ /**
112117release */
@@ -116,7 +121,8 @@ innodb_clean_engine(
116121/*================*/
117122 ENGINE_HANDLE * handle , /*!< in: Engine handle */
118123 const void * cookie , /*!< in: connection cookie */
119- void * conn ); /*!< in: item to free */
124+ void * conn /*!< in: item to free */
125+ );
120126/*******************************************************************/ /**
121127Free value assocaited with key */
122128static
@@ -136,8 +142,9 @@ innodb_get(
136142 item * * item , /*!< out: item to fill */
137143 const void * key , /*!< in: search key */
138144 const int nkey , /*!< in: key length */
139- uint16_t vbucket ); /*!< in: bucket, used by default
145+ uint16_t vbucket /*!< in: bucket, used by default
140146 engine only */
147+ );
141148
142149/*******************************************************************/ /**
143150Get statistics info
@@ -150,7 +157,8 @@ innodb_get_stats(
150157 const void * cookie , /*!< in: connection cookie */
151158 const char * stat_key , /*!< in: statistics key */
152159 int nkey , /*!< in: key length */
153- ADD_STAT add_stat ); /*!< out: stats to fill */
160+ ADD_STAT add_stat /*!< out: stats to fill */
161+ );
154162
155163/*******************************************************************/ /**
156164reset statistics
160168innodb_reset_stats (
161169/*===============*/
162170 ENGINE_HANDLE * handle , /*!< in: Engine Handle */
163- const void * cookie ); /*!< in: connection cookie */
171+ const void * cookie /*!< in: connection cookie */
172+ );
164173
165174/*******************************************************************/ /**
166175API interface for memcached's "SET", "ADD", "REPLACE", "APPEND"
@@ -175,8 +184,9 @@ innodb_store(
175184 item * item , /*!< out: result to fill */
176185 uint64_t * cas , /*!< in: cas value */
177186 ENGINE_STORE_OPERATION op , /*!< in: type of operation */
178- uint16_t vbucket ); /*!< in: bucket, used by default
187+ uint16_t vbucket /*!< in: bucket, used by default
179188 engine only */
189+ );
180190
181191/*******************************************************************/ /**
182192Support memcached "FLUSH_ALL" command, clean up storage (trunate InnoDB Table)
@@ -187,8 +197,9 @@ innodb_flush(
187197/*=========*/
188198 ENGINE_HANDLE * handle , /*!< in: Engine Handle */
189199 const void * cookie , /*!< in: connection cookie */
190- time_t when ); /*!< in: when to flush, not used by
200+ time_t when /*!< in: when to flush, not used by
191201 InnoDB */
202+ );
192203
193204/*******************************************************************/ /**
194205Deal with unknown command. Currently not used
@@ -200,6 +211,7 @@ innodb_unknown_command(
200211 ENGINE_HANDLE * handle , /*!< in: Engine Handle */
201212 const void * cookie , /*!< in: connection cookie */
202213 protocol_binary_request_header * request , /*!< in: request */
203- ADD_RESPONSE response ); /*!< out: respondse */
214+ ADD_RESPONSE response /*!< out: respondse */
215+ );
204216
205217#endif /* innodb_engine_private_h */
0 commit comments