-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/sec.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
unsigned int local;
unsigned int keyid;
unsigned int global;
-
+
char *id;
char *key;
char *name;
{
/* Array with all the keys */
keyentry **keyentries;
-
-
+
+
/* Hashes, based on the id/ip to lookup the keys. */
void *keyhash_id;
void *keyhash_ip;
/* Checks if key changed. */
int OS_CheckUpdateKeys(keystore *keys);
-
+
/* Update the keys if they changed on the system. */
int OS_UpdateKeys(keystore *keys);
/** Function prototypes -- send/recv messages **/
/* Decrypt and decompress a remote message. */
-char *ReadSecMSG(keystore *keys, char *buffer, char *cleartext,
+char *ReadSecMSG(keystore *keys, char *buffer, char *cleartext,
int id, int buffer_size);
/* Creates an ossec message (encrypts and compress) */
#endif
#define SENDER_COUNTER "sender_counter"
-#define KEYSIZE 128
+#define KEYSIZE 128
#endif