GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
d_priv.c File Reference

DBMI Library (driver) - privileges management. More...

#include <stdlib.h>
#include <grass/dbmi.h>
#include "macros.h"
#include "dbstubs.h"
Include dependency graph for d_priv.c:

Go to the source code of this file.

Functions

int db_d_grant_on_table (void)
 Grant privileges on table. More...
 

Detailed Description

DBMI Library (driver) - privileges management.

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_priv.c.

Function Documentation

◆ db_d_grant_on_table()

int db_d_grant_on_table ( void  )

Grant privileges on table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_priv.c.

References db_driver_grant_on_table, db_free_string(), db_init_string(), DB_OK, DB_RECV_INT, DB_RECV_STRING, DB_SEND_FAILURE, and DB_SEND_SUCCESS.