/* * PROGRAM: JRD Command Oriented Query Language * MODULE: proc_proto.h * DESCRIPTION: Prototype header file for proc.cpp * * The contents of this file are subject to the Interbase Public * License Version 1.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.Inprise.com/IPL.html * * Software distributed under the License is distributed on an * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express * or implied. See the License for the specific language governing * rights and limitations under the License. * * The Original Code was created by Inprise Corporation * and its predecessors. Portions created by Inprise Corporation are * Copyright (C) Inprise Corporation. * * All Rights Reserved. * Contributor(s): ______________________________________. */ #ifndef QLI_PROC_PROTO_H #define QLI_PROC_PROTO_H void PRO_close(dbb*, FB_API_HANDLE); void PRO_commit(dbb*); void PRO_copy_procedure(dbb*, const TEXT*, dbb*, const TEXT*); void PRO_create(dbb*, const TEXT*); int PRO_delete_procedure(dbb*, const TEXT*); void PRO_edit_procedure(dbb*, const TEXT*); FB_API_HANDLE PRO_fetch_procedure(dbb*, const TEXT*); bool PRO_get_line (FB_API_HANDLE, TEXT*, USHORT); void PRO_invoke(dbb*, const TEXT*); FB_API_HANDLE PRO_open_blob(dbb*, ISC_QUAD*); int PRO_rename_procedure(dbb*, const TEXT*, const TEXT*); void PRO_rollback(dbb*); typedef void (*extract_fn_t)(void* file, const TEXT* name, USHORT length, DBB database, ISC_QUAD* blob_id); void PRO_scan(dbb*, extract_fn_t, void*); void PRO_setup(dbb*); FB_API_HANDLE PRO_transaction(dbb*, bool); #endif // QLI_PROC_PROTO_H