Vitalnix : User Management Suite
  manual v1.0.21.7

Name

accdb_dummy - The Dummy back-end

Description

As the name already implies, this mode does absolutely nothing except of being there and "just returning a value". In addition, it is written in C++ to show off what could be possible. The functions contained in it return the following values. As usual, 0 for "did not work", 1 for success, and -errno for hard error (i.e. error due to libc).

q_open(), q_useradd(), q_usermod(), q_userdel(), q_groupadd(), q_groupmod(), q_groupdel() and q_close() always return success, whereas q_usertrav(), q_userinfo(), q_grouptrav() and q_groupinfo() return zero, as if no such user was found. In fact, the Dummy database is always empty (even after adding a user). p_sysctl() responds depending on the situation. See the source file backends/dummy.cpp for more details.


January 24 2004 http://vitalnix.sf.net/