@@ -40,17 +40,25 @@ typedef struct _options {
4040#ifdef __cplusplus
4141extern "C" {
4242#endif /* __cplusplus */
43- //tokenizer_t tokenizer( const char* s, const char* delimiters, int empties );
4443void tokenizer ( tokenizer_t * , const char * s , const char * delimiters , int empties );
4544const char * free_tokenizer ( tokenizer_t * tokenizer );
4645const char * tokenize ( tokenizer_t * tokenizer );
47- char * mysql_query_digest_first_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
48- char * mysql_query_digest_second_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
49- char * mysql_query_digest_and_first_comment_2 (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
50- char * mysql_query_digest_and_first_comment_one_it (char * s , int len , char * * first_comment , char * buf );
46+
5147void c_split_2 (const char * in , const char * del , char * * out1 , char * * out2 );
52- char * query_strip_comments (char * s , int len , bool lowercase );
53- char * query_digest_and_first_comment_2 (const char * const q , int q_len , char * * const fst_cmnt , char * const buf , const options * opts );
48+ char * mysql_query_strip_comments (char * s , int len , bool lowercase );
49+ char * mysql_query_digest_and_first_comment (const char * const q , int q_len , char * * const fst_cmnt , char * const buf , const options * opts );
50+ char * pgsql_query_strip_comments (char * s , int len , bool lowercase );
51+ char * pgsql_query_digest_and_first_comment (const char * const q , int q_len , char * * const fst_cmnt , char * const buf , const options * opts );
52+
53+ // For TAP Test
54+ char * mysql_query_digest_first_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
55+ char * mysql_query_digest_second_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
56+ char * mysql_query_digest_and_first_comment_2 (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
57+ char * mysql_query_digest_and_first_comment_one_it (char * s , int len , char * * first_comment , char * buf );
58+ char * pgsql_query_digest_first_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
59+ char * pgsql_query_digest_second_stage (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
60+ char * pgsql_query_digest_and_first_comment_2 (const char * const q , int q_len , char * * const fst_cmnt , char * const buf );
61+ char * pgsql_query_digest_and_first_comment_one_it (char * s , int len , char * * first_comment , char * buf );
5462#ifdef __cplusplus
5563}
5664#endif /* __cplusplus */
0 commit comments