/[LeafOK_CVS]/lbbs/include/editor.h
ViewVC logotype

Diff of /lbbs/include/editor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 by sysadm, Tue Jun 10 06:48:23 2025 UTC Revision 1.5 by sysadm, Thu Jun 12 10:34:21 2025 UTC
# Line 24  Line 24 
24    
25  struct editor_data_t  struct editor_data_t
26  {  {
         char *p_data_lines[MAX_EDITOR_DATA_LINES];  
         long data_line_total;  
27          char *p_display_lines[MAX_EDITOR_DATA_LINES];          char *p_display_lines[MAX_EDITOR_DATA_LINES];
28          long display_line_lengths[MAX_EDITOR_DATA_LINES];          long display_line_lengths[MAX_EDITOR_DATA_LINES];
29          long display_line_total;          long display_line_total;
# Line 41  struct editor_ctx_t Line 39  struct editor_ctx_t
39  };  };
40  typedef struct editor_ctx_t EDITOR_CTX;  typedef struct editor_ctx_t EDITOR_CTX;
41    
42    extern int editor_memory_pool_init(void);
43    extern void editor_memory_pool_cleanup(void);
44    
45  extern EDITOR_DATA *editor_data_load(const char *p_data);  extern EDITOR_DATA *editor_data_load(const char *p_data);
46  extern long editor_data_save(const EDITOR_DATA *p_editor_data, char *p_data, size_t buf_len);  extern long editor_data_save(const EDITOR_DATA *p_editor_data, char *p_data, size_t buf_len);
47  extern void editor_data_cleanup(EDITOR_DATA *p_editor_data);  extern void editor_data_cleanup(EDITOR_DATA *p_editor_data);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1