diff options
author | Petr Machata <pmachata@redhat.com> | 2012-12-05 23:51:17 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-03-08 22:55:29 +0100 |
commit | a5e983bd5555c496a209f3e3a48e2826940b09f5 (patch) | |
tree | 94dde736dcdbf64a7d1cb8235e9cd3a0fef6c122 /prototype.h | |
parent | a94d9dfc864c261717de8859aa49bb758eccac90 (diff) | |
download | ltrace-a5e983bd5555c496a209f3e3a48e2826940b09f5.tar.gz |
Add ownership tracking to prototype module
Diffstat (limited to 'prototype.h')
-rw-r--r-- | prototype.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prototype.h b/prototype.h index 9d36ef0..734b15f 100644 --- a/prototype.h +++ b/prototype.h @@ -195,19 +195,19 @@ void protolib_cache_destroy(struct protolib_cache *cache); * This function returns either the loaded protolib, or NULL when * there was an error. */ struct protolib *protolib_cache_search(struct protolib_cache *cache, - const char *key, + const char *key, int own_key, int allow_private); /* This is similar to above, but instead of looking for the file to * load in directories, the filename is given. */ struct protolib *protolib_cache_file(struct protolib_cache *cache, - const char *filename); + const char *filename, int own_filename); /* This is similar to protolib_cache_file, but the library to cache is * given in argument. Returns 0 on success or a negative value on * failure. PLIB is thereafter owned by CACHE. */ int protolib_cache_protolib(struct protolib_cache *cache, - const char *filename, + const char *filename, int own_filename, struct protolib *plib); /* Single global prototype cache. |