diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-01-20 11:20:37 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-01-20 11:20:37 +0000 |
commit | d0fc0da7c3b2f85f80620440d1f221c4d0f4ed27 (patch) | |
tree | 4495eee4dbd85cef56e6a4cd275e9b330cf108a5 | |
parent | fadacc97a46f7911e1c25e9fd20b081faed85570 (diff) | |
download | mailutils-d0fc0da7c3b2f85f80620440d1f221c4d0f4ed27.tar.gz mailutils-d0fc0da7c3b2f85f80620440d1f221c4d0f4ed27.tar.bz2 |
(imap4d_check_home_dir,util_chdir): New prototype.
-rw-r--r-- | imap4d/imap4d.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/imap4d/imap4d.h b/imap4d/imap4d.h index 4bd8e01ab..2de05ec05 100644 --- a/imap4d/imap4d.h +++ b/imap4d/imap4d.h @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2001, 2002, 2003, 2004, - 2005 Free Software Foundation, Inc. + 2005, 2006 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -165,7 +165,7 @@ extern struct mu_auth_data *auth_data; extern int login_disabled; extern int tls_required; - + #ifndef HAVE_STRTOK_R extern char *strtok_r (char *s, const char *delim, char **save_ptr); #endif @@ -211,6 +211,8 @@ extern int imap4d_namespace (struct imap4d_command *, char *); extern int imap4d_version (struct imap4d_command *, char *); extern int imap4d_idle (struct imap4d_command *, char *); +extern int imap4d_check_home_dir (const char *dir, uid_t uid, gid_t gid); + /* Shared between fetch and store */ extern void fetch_flags0 (const char *prefix, mu_message_t msg, int isuid); @@ -299,6 +301,7 @@ void util_run_events (int old_state, int new_state); int util_is_master (void); void util_bye (void); void util_atexit (void (*fp) (void)); +void util_chdir (const char *homedir); #ifdef WITH_TLS int imap4d_init_tls_server (void); |