Image | Audio | Video |
---|---|---|
X |
Returns the names of files that are referred to in image columns of user tables. If a file is inaccessible (for example, its file name cannot be resolved using environment variable specifications), the file name is preceded with an asterisk. This API does not use the FILENAME field of the FILEREF data structure, and therefore sets it to NULL. The application must be connected to a database before calling this API.
It is important that you free up the resources that are allocated by this API after calling it. Specifically, you must free up the filelist data structure.
Authorization
SYSADM, SYSCTRL, SYSMAINT
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbimage.lib | libdmbimage.a (AIX) |
| libdmbimage.sl (HP-UX) |
| libdmbimage.so (Solaris) |
Include file
dmbimage.h
Syntax
long DBiAdminGetReferencedFiles( char *qualifier, long *count, FILEREF *(*fileList) );
Parameters
Error codes
Examples
List all files that are referred to in image columns in tables that are owned by ajones:
#include <dmbimage.h> long idx; rc = DBiAdminGetReferencedFiles("ajones", &count, &filelist);