DBgdvReturnGdvName

Top  Previous  Next

Name of the plan management deliver.

This procedure can be used in addition to find out whether generally a plan management is loaded, as well as to ascertain their name. If no plan management is loaded, an empty string is delivered as a name. But the name of the plan management is copied in the string str, as far as he fits. The name of the plan management is shortened, if he is longer than maxlen, on maxlen.

Parametre

root (PROOT) [IN]

This is the trading of the data bank by which the information about the plan management is wished.

maxlen (int) [IN]

If the maximum length of the string str brags. Herewith the user states, that he maxlen Byte of memory for str has provided. If this is not sufficient, the string with the name is shortened according to the plan management.

str (char *) [IN / OUT]

str points by call at an uninitialized storage area with a least length of maxlen signs. DBgdvReturnGdvName fills this area with the name of the plan management.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBgdvReturnGdvName (

PROOT root,

int maxlen,

char * str

);