Source code for the RDM core05 example. More...
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "rdm.h"
#include "core05_db_structs.h"
#include "core05_db_cat.h"
Macros | |
#define | print_error(rc) print_errorEx (rc, __FILE__, __LINE__) |
Standard error print macro. | |
Functions | |
void | print_errorEx (RDM_RETCODE rc, const char *file, int line) |
Standard error print format for popcorn examples. More... | |
int | main (void) |
Main function for core04 example. More... | |
Source code for the RDM core05 example.
int main | ( | void | ) |
Main function for core04 example.
The function initializes the RDM environment and runs the create, read operations.
void print_errorEx | ( | RDM_RETCODE | rc, |
const char * | file, | ||
int | line | ||
) |
Standard error print format for popcorn examples.
This demonstrates the usage of the rdm_retcodeGetName() and rdm_retcodeGetDescription() functions.
[in] | rc | RDM_RETCODE to analyze |
[in] | file | Sourcec filename |
[in] | line | Lineno in source file |