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)
| r5294 | r5299 | |
|---|---|---|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | |
| 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) | |
| 116 | 116 | { |
| 117 | 117 | struct cw_registry_entry *entry; |
| 118 | 118 | struct cw_list *list; |
callweaver/trunk/include/callweaver/registry.h (unified diff)
| r5298 | r5299 | |
|---|---|---|
| 111 | 111 | */ |
| 112 | 112 | extern CW_API_PUBLIC int cw_registry_del(struct cw_registry *registry, struct cw_registry_entry *entry); |
| 113 | 113 | |
| 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); | |
| 115 | 115 | |
| 116 | 116 | extern CW_API_PUBLIC int cw_registry_iterate(struct cw_registry *registry, int (*func)(struct cw_object *, void *), void *data); |
| 117 | 117 | extern CW_API_PUBLIC int cw_registry_iterate_rev(struct cw_registry *registry, int (*func)(struct cw_object *, void *), void *data); |
![Home changeset 5299 [home]](/images/logo.png?1180520111)

RSS Feeds