home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / src / editorside.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-16  |  973 b   |  44 lines

  1. /****************************************************************************
  2.  ***
  3.  ***        (c) Copyright 1990 by Sun Microsystems Inc.,  All Rights Reserved.
  4.  ***
  5. *****************************************************************************/
  6. #ifndef EDITORSIDE
  7. #define EDITORSIDE
  8.  
  9. /* 
  10.  * Key Lucid Emacs <-> Energize Server interface
  11.  */
  12.  
  13. /* define const away to avoid gcc vs ansi-c problem in connection.h */
  14. #define const               
  15. #include <connection.h>
  16. #include "hash.h"
  17.  
  18. #ifdef TRUE
  19. #undef TRUE
  20. #endif
  21. #ifdef FALSE
  22. #undef FALSE
  23. #endif
  24.  
  25. #define TRUE    (1)
  26. #define FALSE    (0)
  27.  
  28. #define NIL     (0)
  29.  
  30. /* Types */
  31.  
  32. typedef struct {
  33.   Connection*    conn;        /* connection to Energize */
  34.   Lisp_Object    proc;        /* Emacs process */
  35.   c_hashtable    binfo_hash;    /* hashtable for buffers */
  36.   Lisp_Object    gc_save;    /* Objects saved for GC */
  37.   int        major;        /* protocol version number */
  38.   int        minor;
  39.   c_hashtable image_table;      /* glyphs table */
  40. } Editor;
  41.  
  42.  
  43. #endif /* EDITORSIDE */
  44.