user.c: implementation

Previous: user.h: definition of the interface ] [ Top: The user module ] [ Next: Checking for existence of users and groups ]

OK, so we've defined what we're doing -- now how are we going to do it? I thought you'd never ask.
 
#include 
#include 
#include 
#include "user.h"
#include "../localdefs.h"

/* ------------------------------------------------------------------ */
/* user.c                                                             */
/* This implements the user and group API for wftk.                   */
/* ------------------------------------------------------------------ */
OK, here goes. Follow the links below to see implementations.
 
See Authentication in a CGI environment

See user_exists()
See group_exists()

See user_get()
See user_save()
See group_get()
See group_save()
See user_auth_get()
See user_auth_save()
See group_auth_get()
See group_auth_save()

See user_join()
See user_leave()
See object_grant()
See object_revoke()
See group_include()
See group_unlink()

See Actually using all this XML to figure out a user's permissions

See user_list()
See 
See 
See user_groups_list(): Get a list of groups to which a user belongs.
See group_users_list*(): listing users in (or out of) groups
Previous: user.h: definition of the interface ] [ Top: The user module ] [ Next: Checking for existence of users and groups ]


This code and documentation are released under the terms of the GNU license. They are additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license.