Merge common and util

This commit is contained in:
James Booth
2012-08-23 01:08:06 +01:00
parent 8b7975bdf3
commit 0fe70ce7d3
15 changed files with 91 additions and 142 deletions

View File

@@ -29,14 +29,12 @@
#include "contact.h"
#include "contact_list.h"
#include "prof_autocomplete.h"
#include "log.h"
static PAutocomplete ac;
void
contact_list_init(void)
{
log_msg(PROF_LEVEL_INFO, "prof", "Initialising contact list");
ac = p_obj_autocomplete_new((PStrFunc)p_contact_name,
(PCopyFunc)p_contact_copy,
(PEqualDeepFunc)p_contacts_equal_deep,