ESAPI-C 1.0
The OWASP Enterprise Security API for C

authorization.c File Reference

#include <stdlib.h>
#include "authorization.h"

Go to the source code of this file.

Functions

int is_authorized_for_action (user *u, const char *action)
int is_authorized_for_data (user *u, int data_type)
int is_authorized_for_file (user *u, const char *file)

Function Documentation

int is_authorized_for_action ( user u,
const char *  action 
)

Definition at line 4 of file authorization.c.

int is_authorized_for_data ( user u,
int  data_type 
)

Definition at line 9 of file authorization.c.

int is_authorized_for_file ( user u,
const char *  file 
)

Definition at line 14 of file authorization.c.

 All Data Structures Files Functions Variables Typedefs Defines