Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Method: GetHostnameForCalid

Purpose

Retrieves the hostname associated with the specified calid.

Syntax

PRInt32 GetHostnameForCalid(char* psCalid,
                            char** ppsHost,
                            PRInt32 *piReturnCode)=0;

Parameters

The following are the parameters and definitions for this method:

psCalid

calid for which the hostname is requested.

ppsHost

The hostname to be returned. 

piReturnCode

0= successful, non-zero indicates failure.

Returns

Returns zero for success. Returns a non-zero code for failure. See API: csICalendarLookup.

Description

Gets the hostname associated with a calendar in the calendar lookup database.