Create Item
[API's]


Functions

alp_status_t alp_calendar_dml_item_create (AlpDmlItemH *eventH)
 This API call can be used to create a calendar event in memory that can be used by alp_calendar_dml_insert().
alp_status_t alp_calendar_dml_item_destroy (AlpDmlItemH eventH)
 This API call can be used to free the memory allocated for a calendar event from a call to alp_calendar_dml_item_create.
alp_status_t alp_calendar_dml_item_set_blob (AlpDmlItemH eventH, AlpCalendarDmlColumnType column, const void *value, int32_t size)
 This API call is used to set the blob value for a given field.
alp_status_t alp_calendar_dml_item_set_int32 (AlpDmlItemH eventH, AlpCalendarDmlColumnType column, const uint32_t *value)
 This API call is used to set the integer value for a given field.
alp_status_t alp_calendar_dml_item_set_string (AlpDmlItemH eventH, AlpCalendarDmlColumnType column, const char *value)
 This API call is used to set the text value for a given field.


Function Documentation

alp_status_t alp_calendar_dml_item_create AlpDmlItemH eventH  ) 
 

This API call can be used to create a calendar event in memory that can be used by alp_calendar_dml_insert().

Parameters:
[out] eventH returns a allocated buffer that points to a calendar event.
Returns:
alp_status_t
See also:
alp_calendar_dml_item_destroy

alp_status_t alp_calendar_dml_item_destroy AlpDmlItemH  eventH  ) 
 

This API call can be used to free the memory allocated for a calendar event from a call to alp_calendar_dml_item_create.

Parameters:
[in] eventH handle to the allocated buffer that points to a calendar event.
Returns:
alp_status_t
See also:
alp_calendar_dml_item_create

alp_status_t alp_calendar_dml_item_set_blob AlpDmlItemH  eventH,
AlpCalendarDmlColumnType  column,
const void *  value,
int32_t  size
 

This API call is used to set the blob value for a given field.

Parameters:
[in] eventH handle to the event returned from a call to alp_calendar_dml_item_create
[in] column,: enum of the field specified by AlpCalendarDmlColumnType. for eg., kRepeatFrequency
[in] value : blob value of the field in the record.
[in] size : size of blob in bytes
Returns:
alp_status_t

alp_status_t alp_calendar_dml_item_set_int32 AlpDmlItemH  eventH,
AlpCalendarDmlColumnType  column,
const uint32_t *  value
 

This API call is used to set the integer value for a given field.

Parameters:
[in] eventH handle to the event returned from a call to alp_calendar_dml_item_create()
[in] column,: enum of the field specified by AlpCalendarDmlColumnType. for eg., kRepeatFrequency
[in] value : int value of the field in the record.
Returns:
alp_status_t
See also:
alp_calendar_dml_item_create

alp_status_t alp_calendar_dml_item_set_string AlpDmlItemH  eventH,
AlpCalendarDmlColumnType  column,
const char *  value
 

This API call is used to set the text value for a given field.

Parameters:
[in] eventH handle to the event returned from a call to alp_calendar_dml_item_create
[in] column,: enum of the field specified by AlpCalendarDmlColumnType. for eg., kRepeatFrequency
[in] value : text value of the field in the record.
Returns:
alp_status_t


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.