Mercurial > pidgin.yaz
diff src/prefix.h @ 10251:645eb9804040
[gaim-migrate @ 11391]
This lets us register a fallback function, so we can do binreloc methods
2 and 3 without messing with prefix.c.
This is already in autopackage cvs.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 23 Nov 2004 20:25:22 +0000 |
parents | c143a3fac58d |
children | 7f487c725a90 |
line wrap: on
line diff
--- a/src/prefix.h Tue Nov 23 06:37:42 2004 +0000 +++ b/src/prefix.h Tue Nov 23 20:25:22 2004 +0000 @@ -104,6 +104,7 @@ #define br_strcat BR_NAMESPACE(br_strcat) #define br_extract_dir BR_NAMESPACE(br_extract_dir) #define br_extract_prefix BR_NAMESPACE(br_extract_prefix) +#define br_set_locate_fallback_func BR_NAMESPACE(br_set_locate_fallback_func) #ifndef BR_NO_MACROS /* Convenience functions for concatenating paths */ @@ -124,6 +125,8 @@ char *br_strcat (const char *str1, const char *str2); char *br_extract_dir (const char *path); char *br_extract_prefix(const char *path); +typedef char *(*br_locate_fallback_func) (void *symbol, void *data); +void br_set_locate_fallback_func (br_locate_fallback_func func, void *data); #ifdef __cplusplus