(file) Return to emlog.h CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / misc / emlog

Diff for /misc/emlog/emlog.h between version 1.4 and 1.5

version 1.4, 2001/08/13 08:10:18 version 1.5, 2001/08/13 21:12:48
Line 1 
Line 1 
 /* /*
  * EMLOG: the EMbedded-device LOGger  * EMLOG: the EMbedded-device LOGger
  *  *
  * Jeremy Elson   * Jeremy Elson <jelson@circlemud.org>
  * USC/ISI   * USC/Information Sciences Institute
    *
    * This code is released under the GPL
    *
    * This is emlog version 0.40, released 13 August 2001
    * For more information see http://www.circlemud.org/~jelson/software/emlog
  *  *
  * $Id$  * $Id$
  */  */
Line 10 
Line 15 
 #define EMLOG_MAJOR_NUMBER   241 #define EMLOG_MAJOR_NUMBER   241
 #define EMLOG_MAX_SIZE       128 /* max size in kilobytes of a buffer */ #define EMLOG_MAX_SIZE       128 /* max size in kilobytes of a buffer */
  
   #define EMLOG_VERSION        "0.40"
  
 /************************ Private Definitions *****************************/ /************************ Private Definitions *****************************/
  
Line 37 
Line 43 
          (einfo)->write_point - (einfo)->read_point : \          (einfo)->write_point - (einfo)->read_point : \
          (einfo)->size - (einfo)->read_point + (einfo)->write_point)          (einfo)->size - (einfo)->read_point + (einfo)->write_point)
  
 #define EMLOG_EMPTY(einfo) (((einfo)->read_point) == ((einfo)->write_point))  /* byte number of the last byte in the queue */
   #define EMLOG_FIRST_EMPTY_BYTE(einfo) ((einfo)->offset + EMLOG_QLEN(einfo))
   
   /* macro to make it more convenient to access the wait q */
 #define EMLOG_READQ(einfo) (&((einfo)->read_q)) #define EMLOG_READQ(einfo) (&((einfo)->read_q))
  


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CENS CVS Mailing List
Powered by
ViewCVS 0.9.2