view src/lib-fs/fs-sis-common.h @ 22633:9284bdc3c5c5

director: Don't recreate timeout on every user lookup Recreate it only when the timeout should change.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:34:02 +0200
parents ce57bacc3010
children
line wrap: on
line source

#ifndef FS_SIS_COMMON_H
#define FS_SIS_COMMON_H

#include "fs-api-private.h"

#define HASH_DIR_NAME "hashes"

int fs_sis_path_parse(struct fs *fs, const char *path,
		      const char **dir_r, const char **hash_r);
void fs_sis_try_unlink_hash_file(struct fs *sis_fs, struct fs_file *super_file);

#endif