2001-12-14 Marcus Brinkmann <marcus@g10code.de>

* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
	assuan.h: Define ASSUAN_LINELENGTH.
This commit is contained in:
Marcus Brinkmann 2001-12-13 23:12:37 +00:00
parent f2232e8bc2
commit 341835864e
3 changed files with 9 additions and 3 deletions

View File

@ -1,9 +1,14 @@
2001-12-13 Marcus Brinkmann <marcus@gnu.org> 2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
assuan.h: Define ASSUAN_LINELENGTH.
2001-12-13 Marcus Brinkmann <marcus@g10code.de>
* assuan-connect.c (assuan_pipe_connect): Remove code that closes * assuan-connect.c (assuan_pipe_connect): Remove code that closes
all the little file descriptors we set up. all the little file descriptors we set up.
2001-12-13 Marcus Brinkmann <marcus@gnu.org> 2001-12-13 Marcus Brinkmann <marcus@g10code.de>
* assuan-buffer.c (assuan_read_line): Fix order of execution to * assuan-buffer.c (assuan_read_line): Fix order of execution to
get correct return values. get correct return values.

View File

@ -24,7 +24,7 @@
#include <sys/types.h> #include <sys/types.h>
#include "assuan.h" #include "assuan.h"
#define LINELENGTH 1002 /* 1000 + [CR,]LF */ #define LINELENGTH ASSUAN_LINELENGTH
struct cmdtbl_s { struct cmdtbl_s {
const char *name; const char *name;

View File

@ -101,6 +101,7 @@ typedef enum {
ASSUAN_CMD_USER = 256 /* Other commands should be used with this offset*/ ASSUAN_CMD_USER = 256 /* Other commands should be used with this offset*/
} AssuanCommand; } AssuanCommand;
#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */
struct assuan_context_s; struct assuan_context_s;
typedef struct assuan_context_s *ASSUAN_CONTEXT; typedef struct assuan_context_s *ASSUAN_CONTEXT;