You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediator/medredis.h

17 lines
453 B

#ifndef _MED_REDIS_H
#define _MED_REDIS_H
#include <glib.h>
#include "mediator.h"
#include "cdr.h"
int medredis_init();
void medredis_cleanup();
med_callid_t *medredis_fetch_callids(uint64_t *count);
int medredis_fetch_records(med_callid_t *callid, med_entry_t **entries, uint64_t *count);
int medredis_trash_entries(med_entry_t *records, uint64_t count);
int medredis_backup_entries(med_entry_t *records, uint64_t count);
#endif /* _MED_REDIS_H */