18 lines
514 B
C
18 lines
514 B
C
#ifndef H__R_MODB_USERS__
|
|
#define H__R_MODB_USERS__
|
|
|
|
#include <Rinternals.h>
|
|
#include "modb_users.h"
|
|
|
|
SEXP userToR(struct user_t *user, int with_groups);
|
|
|
|
SEXP rmodb_userId(SEXP r_conn_ref, SEXP r_name_or_email);
|
|
|
|
SEXP rmodb_users(SEXP r_conn_ref, SEXP r_with_groups, SEXP r_with_deleted);
|
|
SEXP rmodb_user(SEXP r_conn_ref, SEXP r_id, SEXP r_with_groups);
|
|
|
|
SEXP rmodb_createUser(SEXP r_conn_ref, SEXP r_id, SEXP r_name, SEXP r_email);
|
|
SEXP rmodb_deleteUser(SEXP r_conn_ref, SEXP r_id);
|
|
|
|
#endif // H__R_MODB_USERS__
|