XrmCombineFileDatabase man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

XrmMergeDatabases(3X11)				       XrmMergeDatabases(3X11)

NAME
       XrmMergeDatabases,  XrmCombineDatabase,	XrmCombineFileDatabase - merge
       resource databases

SYNOPSIS
       void XrmMergeDatabases(source_db, target_db)
	       XrmDatabase source_db, *target_db;

       void XrmCombineDatabase(source_db, target_db, override)
	       XrmDatabase source_db, *target_db;
	       Bool override;

       Status XrmCombineFileDatabase(filename, target_db, override)
	       char *filename;
	       XrmDatabase *target_db;
	       Bool override;

ARGUMENTS
       Specifies the resource database that is to be merged  into  the	target
       database.   Specifies the resource database into which the source data‐
       base is to be merged.   Specifies  the  resource	 database  file	 name.
       Specifies whether source entries override target entries.

DESCRIPTION
       Calling	the  XrmMergeDatabases	function  is equivalent to calling the
       XrmCombineDatabase function with an override argument of True.

       The XrmCombineDatabase function merges the  contents  of	 one  database
       into  another. If the same specifier is used for an entry in both data‐
       bases, the entry in the source_db will replace the entry	 in  the  tar‐
       get_db  if  override is True; otherwise, the entry in source_db is dis‐
       carded. If target_db contains NULL,  XrmCombineDatabase	simply	stores
       source_db  in  it.  Otherwise, source_db is destroyed by the merge, but
       the database pointed to by target_db is	not  destroyed.	 The  database
       entries	are merged without changing values or types, regardless of the
       locales of the databases. The locale of the target database is not mod‐
       ified.

       The  XrmCombineFileDatabase  function merges the contents of a resource
       file into a database. If the same specifier is used  for	 an  entry  in
       both  the file and the database, the entry in the file will replace the
       entry in the database if override is True; otherwise, the entry in  the
       file  is	 discarded.  The file is parsed in the current locale.	If the
       file cannot be read, a zero status is returned;	otherwise,  a  nonzero
       status  is returned. If target_db contains NULL, XrmCombineFileDatabase
       creates and returns a new  database  to	it.  Otherwise,	 the  database
       pointed	to  by	target_db  is not destroyed by the merge. The database
       entries are merged without changing values or types, regardless of  the
       locale  of the database. The locale of the target database is not modi‐
       fied.

SEE ALSO
       XrmGetResource(3X11), XrmInitialize(3X11), XrmPutResource(3X11)

       Xlib -- C Language X Interface

						       XrmMergeDatabases(3X11)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net