int ndpi_credis_decrby(NDPI_REDIS rhnd, const char *key, int decr_val, int *new_val) { return cr_incr(rhnd, 0, decr_val, key, new_val); }
int credis_incrby(REDIS rhnd, const char *key, int incr_val, int *new_val) { return cr_incr(rhnd, incr_val, 0, key, new_val); }
int ndpi_credis_incr(NDPI_REDIS rhnd, const char *key, int *new_val) { return cr_incr(rhnd, 1, 0, key, new_val); }
int credis_decr(REDIS rhnd, const char *key, int *new_val) { return cr_incr(rhnd, 0, 1, key, new_val); }