Esempio n. 1
0
int ndpi_credis_zunionstore(NDPI_REDIS rhnd, const char *destkey, int keyc, const char **keyv, 
                       const int *weightv, NDPI_REDIS_AGGREGATE aggregate)
{
  return cr_zstore(rhnd, 0, destkey, keyc, keyv, weightv, aggregate);
}
Esempio n. 2
0
int credis_zinterstore(REDIS rhnd, const char *destkey, int keyc, const char **keyv, 
                       const int *weightv, REDIS_AGGREGATE aggregate)
{
  return cr_zstore(rhnd, 1, destkey, keyc, keyv, weightv, aggregate);
}