Commit 2b13ce53 authored by 's avatar

Added few missing definitions (?)


git-svn-id: file:///home/svn/mapi/trunk@1369 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 5f2551a9
......@@ -55,6 +55,10 @@ typedef struct mapidlib_instance {
int shm_spinlock_id;
char shm_spinlock_fname[MAPI_STR_LENGTH];
#ifdef WITH_AUTHENTICATION
mapid_tap *taplist;
#endif
}mapidlib_instance_t;
typedef int (*mapid_add_function)(mapidlib_instance_t *i, int fd, char *funct, ...);
......
......@@ -1913,7 +1913,7 @@ static void cmd_authenticate(int fd, int pid, unsigned char *data, int sock)
struct sockaddr_un remote;
struct mapiipcbuf qbuf; // response to agent.
auth_msg_t t;
int len = 0, flag = 0;
int len = 0, flag = 0, err = 0;
char str[30], username[MAX_DATA_SIZE], password[MAX_DATA_SIZE], vo[MAX_DATA_SIZE];
long file_size;
......
......@@ -61,6 +61,7 @@
#define POLICY_RESP 0x02
#define POLICY_NOTFOUND 0x10
#define POLICY_ATTR 0x40
#define VO_REQUEST 0x42
#define VO_ATTR 0x21
#define VO_EMPTY 0x2B
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment