mirror of
https://github.com/postgres/postgres.git
synced 2026-04-01 15:26:56 -04:00
Improved psql's Ctrl-C handling Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
21 lines
416 B
C
21 lines
416 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright 2000 by PostgreSQL Global Development Group
|
|
*
|
|
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.h,v 1.8 2000/02/20 14:28:20 petere Exp $
|
|
*/
|
|
#ifndef MAINLOOP_H
|
|
#define MAINLOOP_H
|
|
|
|
#include "postgres.h"
|
|
#include <stdio.h>
|
|
#ifndef WIN32
|
|
#include <setjmp.h>
|
|
|
|
extern sigjmp_buf main_loop_jmp;
|
|
#endif
|
|
|
|
int MainLoop(FILE *source);
|
|
|
|
#endif /* MAINLOOP_H */
|