1 /* diskio.h --- Read and write data structures from disk.
2 * Copyright (C) 2002, 2003, 2004 Simon Josefsson
4 * This file is part of Shishi.
6 * Shishi is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * Shishi is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with Shishi; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 extern int _shishi_print_armored_data (Shishi
* handle
, FILE * fh
,
24 const char *asn1type
, char *headers
);
25 extern int _shishi_save_data (Shishi
* handle
, FILE * fh
, Shishi_asn1 asn1
,
26 const char *asn1type
);
27 extern int _shishi_authenticator_input (Shishi
* handle
,
29 Shishi_asn1
* authenticator
,
31 extern int _shishi_apreq_input (Shishi
* handle
, FILE * fh
,
32 Shishi_asn1
* apreq
, int type
);
33 extern int _shishi_aprep_input (Shishi
* handle
, FILE * fh
,
34 Shishi_asn1
* aprep
, int type
);
35 extern int _shishi_kdcreq_input (Shishi
* handle
, FILE * fh
,
36 Shishi_asn1
* asreq
, int type
);
37 extern int _shishi_kdcrep_input (Shishi
* handle
, FILE * fh
,
38 Shishi_asn1
* asrep
, int type
);
39 extern int _shishi_krberror_input (Shishi
* handle
, FILE * fh
,
40 Shishi_asn1
* krberror
, int type
);
41 extern int _shishi_encapreppart_input (Shishi
* handle
, FILE * fh
,
42 Shishi_asn1
* encapreppart
, int type
);
43 extern int _shishi_safe_input (Shishi
* handle
, FILE * fh
, Shishi_asn1
* safe
,
45 extern int _shishi_priv_input (Shishi
* handle
, FILE * fh
, Shishi_asn1
* priv
,