csa_look_up man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

csa_look_up(library call)			     csa_look_up(library call)

       csa_look_up — Looks up calendar information

       #include <xcsa.h>
       CSA_return_code csa_look_up(
       CSA_session_handle session,
       CSA_calendar_user *users,
       CSA_flags look_up_flags,
       CSA_uint32 *number_users,
       CSA_calendar_user **user_list,
       CSA_extension *look_up_extensions);

       The  csa_look_up	 function  looks up calendar addressing information in
       the directory provided by the CSA calendaring service.  It primarily is
       used to resolves a user's friendly name to a calendar address.

       Multiple addresses may be returned.  An array of calendar user descrip‐
       tors is allocated and returned containing  fully	 resolved  information
       about each entry.

   Session (Session Handle)
       Opaque  session	handle	that represents a session with the calendaring

       Session handles are created by a logon function	call  and  invalidated
       with a logoff function call.

       If  the	session	 handle	 is invalid, then the error CSA_E_INVALID_SES‐
       SION_HANDLE is returned.

   Users(Calendar User)
       A pointer to a calendar user  structure	containing  the	 user-friendly
       names  whose calendar address is to be looked up.  For name resolution,
       the name field in the structure contains the user name to be  resolved.
       The  user  type can be set to provide information on desired resolution
       of the name.  See the calendar user structure documentation for	possi‐
       ble  types.   For  displaying  calendar user details, the calendar user
       structure must contain an entry that resolves to	 only  one  user.   If
       not,  the  error	 CSA_E_AMBIGUOUS_USER will be returned.	 For both name
       resolution and displaying user details, all user structures except  the
       first will be ignored.

   Look Up Flags (Flags)
       Bit  mask  of  flags.   Unspecified flags should always be passed as 0.
       Undocumented flags are reserved.	 Flag settings include:

		 If set, the search method should be  prefix.	Prefix	search
		 means that all names matching the prefix string, beginning at
		 the first character of the name, will	be  matched.   If  not
		 set,  the search method should be exact match.	 CSA implemen‐
		 tations are required to support simple prefix searching.  The
		 availability of wild-card or substring searches is optional.

		 If  set, the function will return a user record for the iden‐
		 tity of the user in the calendar system.  If this  cannot  be
		 uniquely  determined,	ambiguous name resolution will be car‐
		 ried out.  This  allows  the  application  to	find  out  the
		 address of the current user.

   Look Up Extensions (Extension)
       A  pointer  to  an array of CSA_extension structures for this function.
       The array may contain both input extensions  for	 providing  additional
       information  to the function and output extensions for receiving infor‐
       mation from the function.  A value of NULL indicates that the caller is
       not using any extensions.  See the extensions structure for more infor‐

   Number Users (Uint32)
       A pointer to the number of elements user_list. If no  names  match  the
       criteria,    a	value	of   zero   is	 returned,   and   the	 error
       CSA_E_USER_NOT_FOUND is returned.

   User List (Calendar User)
       A pointer to an array of one or more calendar user structures allocated
       by  csa_look_up(3).  The	 structure  may	 then  be  used	 to fill in an
       attendee list structure.	 This pointer is allocated by the service, and
       should be freed with a single call to csa_free(3).

   Look Up Extensions (Extension)
       If  output  extensions  were  passed  to the function in the extensions
       list, the results from the service will be available in the  extension.
       See  the	 extensions structure for more information.  Whether the func‐
       tion succeeded or not, and, if not, why.	 It may be success or  one  of
       the values listed under ERRORS below.

       The csa_look_up function returns the following error values:

		 The  calendar user's name is ambiguous; multiple matches have
		 been found.

		 There was a general failure that does not fit the description
		 of any other error code.

		 Insufficient  memory  was available to complete the requested

		 The data extension requested is invalid.

		 A flag value in the flags argument was invalid.

		 The function extension requested is invalid.

		 A function parameter was invalid.

		 The specified Session Handle is invalid or  no	 longer	 valid
		 (e.g., after logging off).

		 The  operation requested is not supported by this implementa‐

		 The requested calendar service is unavailable.

		 The data extension requested is not supported.

		 The flag requested is not supported.

		 The  specified	 function  extension  is  not	supported   or

		 One or more of the specified calendar users were not found.

       csa/csa.h    -	 csacsa(5),   csa_add_calendar(3),   csa_add_entry(3),
       csa_call_callbacks(3),	csa_delete_calendar(3),	  csa_delete_entry(3),
       csa_free(3),  csa_free_time_search(3), csa_list_calendar_attributes(3),
       csa_list_calendars(3),				  csa_list_entries(3),
       csa_list_entry_attributes(3),		   csa_list_entry_sequence(3),
       csa_logoff(3), csa_logon(3), csa_query_configuration(3),	 csa_read_cal‐
       endar_attributes(3),			 csa_read_entry_attributes(3),
       csa_read_next_reminder(3),    csa_register_callback(3),	  csa_unregis‐
       ter_callback(3),			    csa_update_calendar_attributes(3),

						     csa_look_up(library call)

List of man pages available for HP-UX

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]
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