• Antelope Release 5.10 Linux CentOS release 7.6.1810 (Core) 3.10.0 2020-05-12

 

NAME

dbadd_remark, dbget_remark - add or get remarks to CSS tables

SYNOPSIS

#include "db.h"

long dbadd_remark(Dbptr db, char *remark)

int dbget_remark(Dbptr db, char **remark)

DESCRIPTION

Dbadd_remark adds the passed remark to the specified record and table. Dbget_remark returns the comment(s) for the specified record and table, in a newly allocated buffer; it is the caller's responsibility to free this.

Many of the CSS database tables allow adding comments, but these comments are kept in a separate table, remark. These routines allow adding comments to a record, or retrieving the comments corresponding to a particular record.

FILES

These routines access (and modify) both the remark table and the specified record in some other table.

RETURN VALUES

These routines return zero on success, -1 in the event of an error. Detailed error messages are left in the error log.

LIBRARY

$(DBLIBS)

SEE ALSO

dbintro(3), register_error(3), dbremark(1)

AUTHOR

Daniel Quinlan
Printer icon