Logo Search packages:      
Sourcecode: unfs3 version File versions

user.h

/*
 * UNFS3 user and group id handling
 * (C) 2003, Pascal Schmidt
 * see file LICENSE for license details
 */

#ifndef UNFS3_USER_H
#define UNFS3_USER_H

#include "backend.h"

int get_uid(struct svc_req *req);

int is_owner(int owner, struct svc_req *req);
int has_group(int group, struct svc_req *req);

void get_squash_ids(void);

void switch_to_root();
void switch_user(struct svc_req *req);

void read_executable(struct svc_req *req, backend_statstruct buf);

#endif

Generated by  Doxygen 1.6.0   Back to index