/usr/include/sary/cache.h is in libsary-dev 1:1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #ifndef __SARY_CACHE_H__
#define __SARY_CACHE_H__
#include <glib.h>
#include <sary/searcher.h>
#include <sary/saryconfig.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef GHashTable SaryCache;
SaryCache* sary_cache_new (void);
void sary_cache_destroy (SaryCache *cache);
SaryResult* sary_cache_get (SaryCache *cache,
const gchar *pattern,
SaryInt len);
void sary_cache_add (SaryCache *cache,
const gchar *pattern,
SaryInt len,
SaryInt *first,
SaryInt *last);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __SARY_CACHE_H__ */
|