IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvGetInaccessibleFiles


Image Audio Video
    X

Returns the names of inaccessible files that are referenced in video columns of user tables. The application must be connected to a database before calling this API.

It is important that you free up the resources allocated by this API after calling it. Specifically, you must free up the filelist data structure as well as the filename field in each entry in the filelist.

Authorization

SELECT privilege on enabled video columns in all searched user tables and associated administrative support tables

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbvideo.lib libdmbvideo.a (AIX)

libdmbvideo.sl (HP-UX)

libdmbvideo.so (Solaris)

Include file

dmbvideo.h

Syntax

long DBvGetInaccessibleFiles(
      char *tableName,
      long *count,
      FILEREF *(*fileList)
      );

Parameters

tableName (in)
A qualified, unqualified, or null table name. If a table name is specified, that table is searched for references to inaccessible files. If a null value is specified, all tables with the specified qualifier are searched.

count (out)
The number of entries in the output list.

fileList (out)
A list of inaccessible files that are referenced in the table.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_RC_NOT_CONNECTED
Application does not have valid connection to a database.

MMDB_RC_MALLOC
System cannot allocate memory to return the results.

Examples

List all inaccessible files referenced in video columns in the employee table:

#include <dmbvideo.h>
long idx;
 
rc = DBvGetInaccessibleFiles("employee",
       &count, &filelist);


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]