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

Method: FindCalid

Purpose

Finds the calendar ID for the URL specified.

Syntax

PRUint32 FindCalid (char* pQualifiedURL,
                    char** ppCalidOut,
                    PRInt32 *piCalidSize,
                    PRInt32 *aReturnCode)=0;

Parameters

The method has the following parameters:

pQualifiedURL

The URL to search on. 

ppCalidOut

A pointer to the address of the calid found.

piCalidSize

Size of the calid returned.

aReturnCode

On return, contains a constant that determines whether the server should continue with the default, or with the override processing. 

One of the following constants: 

NS_CONTINUE_DEFAULT_PROCESSING

NS_OVERRIDE_DEFAULT_PROCESSING

Returns

The calid for the qualified URL passed in.

Description

Uses the qualified URL pointer passed to it to perform a search of the calendar ID database. If it finds a match, it returns a pointer to the address of the calid and an integer with the size of the calid