The calendar common API provides the set of definitions and interfaces to initialize and deinitialize.
Required Header
#include <calendar.h>
Enumeration Type Documentation
Enumeration for calendar errors.
- Since :
- 2.3
- Enumerator:
CALENDAR_ERROR_NONE |
Successful
|
CALENDAR_ERROR_OUT_OF_MEMORY |
Out of memory
|
CALENDAR_ERROR_INVALID_PARAMETER |
Invalid parameter
|
CALENDAR_ERROR_NO_DATA |
Requested data does not exist
|
CALENDAR_ERROR_NOW_IN_PROGRESS |
Operation now in progress
|
CALENDAR_ERROR_ALREADY_IN_PROGRESS |
Operation already in progress
|
CALENDAR_ERROR_NOT_PERMITTED |
Operation not permitted
|
CALENDAR_ERROR_FILE_NO_SPACE |
FS is full
|
CALENDAR_ERROR_PERMISSION_DENIED |
Permission denied
|
CALENDAR_ERROR_DB_FAILED |
No access to the database
|
CALENDAR_ERROR_ITERATOR_END |
Iterator is on the last position
|
CALENDAR_ERROR_DB_RECORD_NOT_FOUND |
Database not found
|
CALENDAR_ERROR_IPC |
Unknown IPC error
|
CALENDAR_ERROR_SYSTEM |
Error from another modules
|
CALENDAR_ERROR_NOT_SUPPORTED |
Not supported (Since 4.0)
|
Function Documentation
Connects to the calendar service.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- calendar_disconnect()
Connects to the calendar service on a thread.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- calendar_disconnect_on_thread()
Disconnects from the calendar service.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- calendar_connect()
Disconnects from the calendar service on a thread.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- calendar_connect_on_thread()