Changeset 5299

Fix type for "pattern" arg to cw_registry_replace

Comitted by:  mjagdis
Date:  Jan 07 2009 * 18:26 (over 3 years ago)

Affected files:

callweaver/trunk/corelib/registry.c (unified diff)

r5294r5299
112112 }
113113
114114
115 int cw_registry_replace(struct cw_registry *registry, unsigned int hash, const char *pattern, struct cw_object *obj)
115 int cw_registry_replace(struct cw_registry *registry, unsigned int hash, const void *pattern, struct cw_object *obj)
116116 {
117117 struct cw_registry_entry *entry;
118118 struct cw_list *list;

callweaver/trunk/include/callweaver/registry.h (unified diff)

r5298r5299
111111 */
112112 extern CW_API_PUBLIC int cw_registry_del(struct cw_registry *registry, struct cw_registry_entry *entry);
113113
114 extern CW_API_PUBLIC int cw_registry_replace(struct cw_registry *registry, unsigned int hash, const char *pattern, struct cw_object *obj);
114 extern CW_API_PUBLIC int cw_registry_replace(struct cw_registry *registry, unsigned int hash, const void *pattern, struct cw_object *obj);
115115
116116 extern CW_API_PUBLIC int cw_registry_iterate(struct cw_registry *registry, int (*func)(struct cw_object *, void *), void *data);
117117 extern CW_API_PUBLIC int cw_registry_iterate_rev(struct cw_registry *registry, int (*func)(struct cw_object *, void *), void *data);