/usr/include/ClearSilver/util/rcfs.h is in clearsilver-dev 0.10.5-3.
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 30 31 32 33 34 | /*
* Copyright 2001-2004 Brandon Long
* All Rights Reserved.
*
* ClearSilver Templating System
*
* This code is made available under the terms of the ClearSilver License.
* http://www.clearsilver.net/license.hdf
*
*/
/*
* revision-controlled file system (RCFS) with meta-info storage
*/
#ifndef __RCFS_H_
#define __RCFS_H_ 1
typedef struct _rcfs RCFS;
NEOERR * rcfs_init (RCFS **rcfs);
NEOERR * rcfs_destroy (RCFS **rcfs);
NEOERR * rcfs_load (const char *path, int version, char **data);
NEOERR * rcfs_save (const char *path, const char *data, const char *user,
const char *log);
NEOERR * rcfs_lock (const char *path, int *lock);
void rcfs_unlock (int lock);
NEOERR * rcfs_meta_load (const char *path, HDF **meta);
NEOERR * rcfs_meta_save (const char *path, HDF *meta);
NEOERR * rcfs_listdir (const char *path, ULIST **list);
NEOERR * rcfs_link (const char *src_path, const char *dest_path);
NEOERR * rcfs_unlink (const char *path);
#endif /* __RCFS_H_ */
|