[vhffs-dev] [459] Added constants for objects' types. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 459
Author: beuss
Date: 2007-02-16 15:44:22 +0000 (Fri, 16 Feb 2007)
Log Message:
-----------
Added constants for objects' types.
Modified Paths:
--------------
branches/vhffs_4.1/vhffs-api/src/Vhffs/Constants.pm
Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Constants.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Constants.pm 2007-02-16 15:39:56 UTC (rev 458)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Constants.pm 2007-02-16 15:44:22 UTC (rev 459)
@@ -51,6 +51,19 @@
ML_RIGHT_SUB_WAITING_FOR_DEL => 12,
MAILS_DIR => "/usr/share/vhffs/mails/",
+
+# Objects' types
+ TYPE_USER => 10,
+ TYPE_GROUP => 11,
+ TYPE_HTTPD => 20,
+ TYPE_REPOSITORY => 21,
+ TYPE_MYSQL => 30,
+ TYPE_PGSQL => 31,
+ TYPE_CVS => 40,
+ TYPE_SVN => 41,
+ TYPE_DNS => 50,
+ TYPE_MAIL => 60,
+ TYPE_ML => 61,
};
1;