1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Implemented server main loop and started with import command.

This commit is contained in:
Werner Koch 2001-11-07 17:44:22 +00:00
parent 7166bd6a5d
commit 7c708298d2
8 changed files with 537 additions and 4 deletions

View file

@ -23,6 +23,19 @@
#include "util.h"
/* Error numbers */
enum {
GPGSM_EOF = -1,
GPGSM_No_Error = 0,
GPGSM_General_Error = 1,
GPGSM_Out_Of_Core = 2,
GPGSM_Invalid_Value = 3,
GPGSM_IO_Error = 4,
};
/* A large struct name "opt" to keep global flags */
struct {
unsigned int debug; /* debug flags (DBG_foo_VALUE) */
@ -83,4 +96,7 @@ void gpgsm_exit (int rc);
void gpgsm_server (void);
/*-- import.c --*/
int gpgsm_import (int in_fd);
#endif /*GPGSM_H*/