Roxen.git/
server/
modules/
examples/
userdb_ex.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-10-09
2001-10-09 15:03:43 by Per Hedbor <ph@opera.com>
7b43d2f412ece1d3f6b5d624764ce34093fb4549 (
9
lines) (+
4
/-
5
)
[
Show
|
Annotate
]
Branch:
5.2
Updated.
Rev: server/modules/examples/userdb_ex.pike:1.2
10:
inherit UserDB;
+
inherit "module";
//! A user database module should inherit @[UserDB].
-
//! However, you can inherit module and implement all the functions
-
//! that have stub defenitions in the UserDB module on your own.
+
//! //! Which those are will be indicated in the documentation for those //! functions below. Also, please note that a userdb module has to //! have the thread_safe flag set to 1.
-
inherit "module";
+
constant name = "example"; //! The name of the userdatbase, used to identify it from modules or
30:
//! will be impossible to know which of them will be used when //! authentication is done, however..
-
constant cvs_version="$Id: userdb_ex.pike,v 1.
1
2001/10/09 15:
01
:
44
per Exp $";
+
constant cvs_version="$Id: userdb_ex.pike,v 1.
2
2001/10/09 15:
03
:
43
per Exp $";
LocaleString module_name = LOCALE(1,"RefDoc for MODULE_USERDB");