version 1.16.10.1, 2006/10/06 03:19:32 |
version 1.17, 2006/03/19 18:51:18 |
|
|
/* $OpenBSD$ */ |
|
/* |
/* |
* Copyright (c) 2000 Markus Friedl. All rights reserved. |
* Copyright (c) 2000 Markus Friedl. All rights reserved. |
* |
* |
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
#include "includes.h" |
|
|
#include <sys/types.h> |
|
|
|
#include <signal.h> |
|
#include <stdarg.h> |
|
|
|
#include "ssh1.h" |
#include "ssh1.h" |
#include "ssh2.h" |
#include "ssh2.h" |
#include "log.h" |
#include "log.h" |
|
|
dispatch[type] = fn; |
dispatch[type] = fn; |
} |
} |
void |
void |
dispatch_run(int mode, volatile sig_atomic_t *done, void *ctxt) |
dispatch_run(int mode, int *done, void *ctxt) |
{ |
{ |
for (;;) { |
for (;;) { |
int type; |
int type; |