file-create-locked.h (dovecot-2.3.16) | : | file-create-locked.h (dovecot-2.3.17) | ||
---|---|---|---|---|
#ifndef FILE_CREATE_LOCKED_H | #ifndef FILE_CREATE_LOCKED_H | |||
#define FILE_CREATE_LOCKED_H | #define FILE_CREATE_LOCKED_H | |||
#include "file-lock.h" | #include "file-lock.h" | |||
struct file_create_settings { | struct file_create_settings { | |||
/* 0 = try locking without waiting */ | /* 0 = try locking without waiting */ | |||
unsigned int lock_timeout_secs; | unsigned int lock_timeout_secs; | |||
enum file_lock_method lock_method; | struct file_lock_settings lock_settings; | |||
/* 0 = 0600 */ | /* 0 = 0600 */ | |||
int mode; | int mode; | |||
/* 0 = default */ | /* 0 = default */ | |||
uid_t uid; | uid_t uid; | |||
/* 0 = default */ | /* 0 = default */ | |||
gid_t gid; | gid_t gid; | |||
const char *gid_origin; | const char *gid_origin; | |||
/* If parent directory doesn't exist, mkdir() it with this mode. | /* If parent directory doesn't exist, mkdir() it with this mode. | |||
0 = don't mkdir(). The parent directories are assumed to be | 0 = don't mkdir(). The parent directories are assumed to be | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |