X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flog.h;h=c6348de2a256bcc874aeac5fa96ecbbaa0a5db6e;hb=refs%2Fheads%2Fmaster;hp=475fe161bbe2b2f53ae7c88b0b861d2ce0b7434e;hpb=5cded6a34ead3205baf1a45ed5adbee24ebec685;p=sympathy.git diff --git a/src/log.h b/src/log.h index 475fe16..c6348de 100644 --- a/src/log.h +++ b/src/log.h @@ -1,17 +1,32 @@ -/* +/* * log.h: * - * Copyright (c) 2008 James McKenzie , + * Copyright (c) 2008 James McKenzie , * All rights reserved. * */ -/* - * $Id$ +/* + * $Id: log.h,v 1.7 2010/07/27 14:49:35 james Exp $ */ -/* - * $Log$ +/* + * $Log: log.h,v $ + * Revision 1.7 2010/07/27 14:49:35 james + * add support for byte logging + * + * Revision 1.6 2008/03/10 11:49:33 james + * *** empty log message *** + * + * Revision 1.5 2008/03/07 12:37:04 james + * *** empty log message *** + * + * Revision 1.4 2008/03/03 06:04:42 james + * *** empty log message *** + * + * Revision 1.3 2008/03/02 10:37:56 james + * *** empty log message *** + * * Revision 1.2 2008/02/23 11:48:37 james * *** empty log message *** * @@ -24,11 +39,13 @@ #define __LOG_H__ #define LOG_SIGNATURE \ + struct Log_struct *next; \ void (*log)(struct Log_struct *,char *); \ + void (*log_bytes)(struct Log_struct *,void *,int); \ + void (*sighup)(struct Log_struct *); \ void (*close)(struct Log_struct *) -typedef struct Log_struct -{ +typedef struct Log_struct { LOG_SIGNATURE; } Log;