Wait for a notification message from the database.
- Parameters:
-
| hdb | Database handle |
| timeout | Maximum length of time to wait for a notification 0 - returns right away with DB_FAIL if no notification or DB_OK if there was a notification to report. |
| event | Event structure containing information about the event. Check event.u.utid |
- Returns:
-
On failure, one of the following error codes is set:
- See also:
- db_watch_table, db_unwatch_table,
get_db_error, clear_db_error, Error Handling