Bristol Wearable Computing

[ Home | Plans | Meetings | Members | Search | Papers | Links | CyberWear | LocoSoft]


Domain Server

Purpose

ED?

API

/***********************************************************/
/*Domain Server Interface API Header 1.00                  */
/*Michael McTernan mm7323@Bris.Ac.Uk                       */
/*   Started 1/9/98                                        */
/*Notes:                                                   */
/*                                                         */
/***********************************************************/
#ifndef DOMAINSERVERAPIHEADER
#define DOMAINSERVERAPIHEADER
/*---DSAddDomain---
PROTOTYPE                                                  */                                                
  int DSAddDomain(char *Domain);                           /*
  
DESCRIPTION
  Requests to add the domain Domain to the domain
  server.
  
RETURNS
  0  if the domain was added sucessfully
  -1 otherwise. 
*/

 

 

/*---DSAddAlias---
PROTOTYPE                                                  */                                                
  iint DSAddAlias(char *Domain, char *Alias);              /*
  
DESCRIPTION
  Requests to add an alias, Alias for the domain Domain
  to the domain server.
  
RETURNS
  0  if the domain alias was added sucessfully
  -1 otherwise. 
*/

 

 

/*---DSRenameDomain---
PROTOTYPE                                                  */                                                
  int DSRename(char *OldName, char *NewName);            /*
  
DESCRIPTION
  Requests to add an alias, Alias for the domain Domain
  to the domain server.
  
RETURNS
  0  if the domain alias was added sucessfully
  -1 otherwise. 
*/

 

 

/*---DSDeleteDomain---
PROTOTYPE                                                  */                                                
  int DSDeleteDomain(char *Domain);                        /*
  
DESCRIPTION
  Requests to delete the domain Domain from the domain
  server.
  
RETURNS
  0  if the domain was deleted sucessfully
  -1 otherwise. 
*/

 

 

 /*---DSDomainExist---
PROTOTYPE                                                  */                                                
  int DSDomainExist(char *Domain);                         /*
  
DESCRIPTION
  This function asks the domain server if the domain named by
  Domain exists or not
  
RETURNS
  0  if the domain does not exist
  1  if the domain does exist
  -1 if an error occured 
*/
#endif

unicrest.gif (4191 bytes)

The material displayed is provided 'as is' and is subject to use restrictions.
For problems or questions regarding this web contact Cliff Randell.
Last updated: January 14, 2000.
logoep.gif (1404 bytes)
ęCopyright Hewlett-Packard 1997-2000.