equal
deleted
inserted
replaced
58 int pt_cache_open (struct pt_cache **cache_ptr, const char *path, int mode); |
58 int pt_cache_open (struct pt_cache **cache_ptr, const char *path, int mode); |
59 |
59 |
60 /** |
60 /** |
61 * Verify if the cached data has become stale compared to the given original file. |
61 * Verify if the cached data has become stale compared to the given original file. |
62 */ |
62 */ |
63 int pt_cache_stale (struct pt_cache *cache, const char *orig_path); |
63 int pt_cache_stale (struct pt_cache *cache, const char *img_path); |
64 |
64 |
65 /** |
65 /** |
66 * Update the cache data from the given PNG image. |
66 * Update the cache data from the given PNG image. |
67 */ |
67 */ |
68 int pt_cache_update_png (struct pt_cache *cache, png_structp png, png_infop info); |
68 int pt_cache_update_png (struct pt_cache *cache, png_structp png, png_infop info); |