/* * OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI) * * Website: http://www.ocilib.net * * Copyright (c) 2007-2023 Vincent ROGIER * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef OCILIB_QUEUE_H_INCLUDED #define OCILIB_QUEUE_H_INCLUDED #include "types.h" OCI_SYM_LOCAL boolean OcilibQueueCreate ( OCI_Connection *con, const otext *queue_name, const otext *queue_table, unsigned int queue_type, unsigned int max_retries, unsigned int retry_delay, unsigned int retention_time, boolean dependency_tracking, const otext *comment ); OCI_SYM_LOCAL boolean OcilibQueueAlter ( OCI_Connection *con, const otext *queue_name, unsigned int max_retries, unsigned int retry_delay, unsigned int retention_time, const otext *comment ); OCI_SYM_LOCAL boolean OcilibQueueDrop ( OCI_Connection *con, const otext *queue_name ); OCI_SYM_LOCAL boolean OcilibQueueStart ( OCI_Connection *con, const otext *queue_name, boolean enqueue, boolean dequeue ); OCI_SYM_LOCAL boolean OcilibQueueStop ( OCI_Connection *con, const otext *queue_name, boolean enqueue, boolean dequeue, boolean wait ); OCI_SYM_LOCAL boolean OcilibQueueTableCreate ( OCI_Connection *con, const otext *queue_table, const otext *queue_payload_type, const otext *storage_clause, const otext *sort_list, boolean multiple_consumers, unsigned int message_grouping, const otext *comment, unsigned int primary_instance, unsigned int secondary_instance, const otext *compatible ); OCI_SYM_LOCAL boolean OcilibQueueTableAlter ( OCI_Connection *con, const otext *queue_table, const otext *comment, unsigned int primary_instance, unsigned int secondary_instance ); OCI_SYM_LOCAL boolean OcilibQueueTableDrop ( OCI_Connection *con, const otext *queue_table, boolean force ); OCI_SYM_LOCAL boolean OcilibQueueTablePurge ( OCI_Connection *con, const otext *queue_table, const otext *purge_condition, boolean block, unsigned int delivery_mode ); OCI_SYM_LOCAL boolean OcilibQueueTableMigrate ( OCI_Connection *con, const otext *queue_table, const otext *compatible ); #endif /* OCILIB_QUEUE_H_INCLUDED */