Main Page | Modules | Data Structures | Directories | File List | Data Fields | Examples

Library


Detailed Description

An object representing a local catalog repository.

A local library is a mirror of a remote CDS mirror in structure. Catalogs can then be downloaded in part or in whole on a need by need basis to populate the library.

CDS directory structure mirrored:-


Typedefs

typedef lnc_library lnc_library
 Local CDS catalog repository.

Functions

lnc_librarylnc_lib_init (char *remote, char *local)
 Create a library.
void lnc_lib_free (lnc_library *lib)
 Free the library resources.


Typedef Documentation

struct lnc_library
 

Local CDS catalog repository.

The library container.

Examples:
client.c, and sky2k.c.


Function Documentation

void lnc_lib_free lnc_library lib  ) 
 

Free the library resources.

Parameters:
lib Library to free
Free's all library resources.
Examples:
client.c, and sky2k.c.

lnc_library * lnc_lib_init char *  remote,
char *  local
 

Create a library.

Parameters:
local Local library repository location
remote Remote repository location
Returns:
A lnc_library object or NULL on failure
Initialises a CDS library structure on disk at location specified.

This typically only needs to be called once per program.

Examples:
client.c, and sky2k.c.


Generated on Tue Jul 5 14:34:14 2005 for libncat by  doxygen 1.4.2