diff options
Diffstat (limited to 'src/home/homework.h')
-rw-r--r-- | src/home/homework.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/home/homework.h b/src/home/homework.h index 551f0d0153..55c2f5b2df 100644 --- a/src/home/homework.h +++ b/src/home/homework.h @@ -53,10 +53,16 @@ typedef struct HomeSetup { /* Various flags for the operation of setting up a home directory */ typedef enum HomeSetupFlags { - HOME_SETUP_ALREADY_ACTIVATED = 1 << 0, /* Open an already activated home, rather than activate it afresh */ + HOME_SETUP_ALREADY_ACTIVATED = 1 << 0, /* Open an already activated home, rather than activate it afresh */ /* CIFS backend: */ - HOME_SETUP_CIFS_MKDIR = 1 << 1, /* Create CIFS subdir when missing */ + HOME_SETUP_CIFS_MKDIR = 1 << 1, /* Create CIFS subdir when missing */ + + /* Applies only for resize operations */ + HOME_SETUP_RESIZE_DONT_SYNC_IDENTITIES = 1 << 2, /* Don't sync identity records into home and LUKS header */ + HOME_SETUP_RESIZE_MINIMIZE = 1 << 3, /* Shrink to minimal size */ + HOME_SETUP_RESIZE_DONT_GROW = 1 << 4, /* If the resize would grow, gracefully terminate operation */ + HOME_SETUP_RESIZE_DONT_SHRINK = 1 << 5, /* If the resize would shrink, gracefully terminate operation */ } HomeSetupFlags; int home_setup_done(HomeSetup *setup); |