diff options
author | Werner Koch <[email protected]> | 2001-11-07 17:44:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-11-07 17:44:22 +0000 |
commit | 7c708298d2829b4adf4128be143ada91764ca26e (patch) | |
tree | 55233c882c19cbe240463c4d2454553d64495982 /sm/misc.c | |
parent | Assuan server mode is now basically usable (diff) | |
download | gnupg-7c708298d2829b4adf4128be143ada91764ca26e.tar.gz gnupg-7c708298d2829b4adf4128be143ada91764ca26e.zip |
Implemented server main loop and started with import command.
Diffstat (limited to 'sm/misc.c')
-rw-r--r-- | sm/misc.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sm/misc.c b/sm/misc.c new file mode 100644 index 000000000..c1bc346d1 --- /dev/null +++ b/sm/misc.c @@ -0,0 +1,41 @@ +/* misc.c - Miscellaneous fucntions + * Copyright (C) 2001 Free Software Foundation, Inc. + * + * This file is part of GnuPG. + * + * GnuPG is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GnuPG is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#include <config.h> +#include <errno.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <ctype.h> +#include <unistd.h> + +#include <ksba.h> + +#include "util.h" + + +/* Note: we might want to wrap this in a macro to get our hands on + the line and file wehre the error occired */ +int +map_ksba_err (int err) +{ + return -1; +} + |