QC: Setup and initialization separated

This is in preparation for using the general process/thread
initialization mechanism.
This commit is contained in:
Johan Wikman
2017-01-05 17:30:04 +02:00
parent a0181133fe
commit 530c0e9617
6 changed files with 46 additions and 14 deletions

View File

@ -127,7 +127,8 @@ typedef struct qc_field_info
*/
typedef struct query_classifier
{
bool (*qc_init)(const char* args);
bool (*qc_setup)(const char* args);
bool (*qc_init)(void);
void (*qc_end)(void);
bool (*qc_thread_init)(void);