query_classifier: implemented skygw_get_canonical which returns a copy of original string with given substrings being replaced with questionmarks.
skygw_utils.cc: added string replacement function for use of skygw_get_canonical
This commit is contained in:
@ -191,5 +191,7 @@ int skygw_rwlock_unlock(skygw_rwlock_t* rwlock);
|
||||
int skygw_rwlock_init(skygw_rwlock_t** rwlock);
|
||||
|
||||
int atomic_add(int *variable, int value);
|
||||
char* replace_str(const char* str, const char* old, const char* replacement);
|
||||
|
||||
|
||||
#endif /* SKYGW_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user