lib/vdomain/vdomain.h
changeset 2 b3afb9f1e801
parent 0 6f7a81934006
--- a/lib/vdomain/vdomain.h	Sun Jan 20 00:12:17 2008 +0100
+++ b/lib/vdomain/vdomain.h	Sun Jan 20 00:22:09 2008 +0100
@@ -29,10 +29,10 @@
   mystring userdir(mystring username) const;
 
   // Virtual user manipulation functions
-  vpwentry* lookup(mystring name, bool nodefault);
+  vpwentry* lookup(mystring name);
   bool exists(mystring name);
   
-  response set(const vpwentry*, bool onlyadd, mystring maildir = "");
+  response set(const vpwentry*, bool onlyadd);
   response chattr(mystring user, unsigned attr, mystring newval);
   response chattr(const vpwentry*, unsigned attr, mystring newval);
   response deluser(mystring name, bool del_mailbox);
@@ -51,6 +51,7 @@
   static const unsigned ATTR_EXPIRY = 7;
   static const unsigned ATTR_MAILBOX_ENABLED = 8;
   static const unsigned ATTR_PERSONAL = 9;
+  static const unsigned ATTR_HAS_MAILBOX = 10;
 };
 
 #endif // VMAILMGR__VDOMAIN__H__