/[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.4 by sysadm, Thu Jun 12 03:16:35 2025 UTC Revision 1.6 by sysadm, Sun Jun 15 13:40:52 2025 UTC
# Line 39  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);
# Line 48  extern int editor_display(EDITOR_DATA *p Line 51  extern int editor_display(EDITOR_DATA *p
51  extern int editor_data_insert(EDITOR_DATA *p_editor_data, long *p_display_line, long *p_offset,  extern int editor_data_insert(EDITOR_DATA *p_editor_data, long *p_display_line, long *p_offset,
52                                                            const char *str, int str_len, long *p_last_updated_line);                                                            const char *str, int str_len, long *p_last_updated_line);
53    
54  extern int editor_data_delete(EDITOR_DATA *p_editor_data, long display_line, long offset,  extern int editor_data_delete(EDITOR_DATA *p_editor_data, long *p_display_line, long *p_offset,
55                                                            long *p_last_updated_line);                                                            long *p_last_updated_line);
56    
57  #endif //_EDITOR_H_  #endif //_EDITOR_H_


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

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