FreeTDS API: src/apps/fisql/interrupt.h Source File

FreeTDS API

interrupt.h
1 /* Free ISQL - An isql for DB-Library (C) 2007 Nicholas S. Castellano
2 *
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Library General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public
14 * License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 * Boston, MA 02111-1307, USA.
17 */
18
19 /* $Id: interrupt.h,v 1.4 2007-01-20 06:32:27 castellano Exp $ */
20 extern sigjmp_buf restart;
21
22 void inactive_interrupt_handler(int sig);
23 void active_interrupt_handler(int sig);
24 void maybe_handle_active_interrupt(void);
25 int active_interrupt_pending(DBPROCESS * dbproc);
26 int active_interrupt_servhandler(DBPROCESS * dbproc);
sybdb.h
Primary include file for db-lib applications.
tds_dblib_dbprocess
Definition: dblib.h:123