view keyimport.h @ 40:b4874d772210

- Added terminal mode handling etc for the client, and window change - Refactored the terminal-mode handling for the server - Improved session closing for the client
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Aug 2004 08:54:01 +0000
parents fe6bca95afa7
children e3adf4cf5465
line wrap: on
line source

#ifndef _KEYIMPORT_H_
#define _KEYIMPORT_H_

#include "includes.h"
#include "signkey.h"

enum {
	KEYFILE_DROPBEAR,
	KEYFILE_OPENSSH,
	KEYFILE_SSHCOM
};

int import_write(const char *filename, sign_key *key, char *passphrase,
		int filetype);
sign_key *import_read(const char *filename, char *passphrase, int filetype);
int import_encrypted(const char* filename, int filetype);

#endif /* _KEYIMPORT_H_ */