Ignore:
Timestamp:
Jun 15, 2008 3:50:02 PM (6 years ago)
Author:
sam
Message:
  • Export cucul_file_t operations in the public header.
  • Implement cucul_file_read() and cucul_file_write().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul.h

    r2305 r2406  
    277277__extern int cucul_canvas_set_figfont(cucul_canvas_t *, char const *); 
    278278__extern int cucul_put_figchar(cucul_canvas_t *, uint32_t); 
     279/*  @} */ 
     280 
     281/** \defgroup cucul_file libcucul file IO 
     282 * 
     283 *  These functions allow to read and write files in a platform-independent 
     284 *  way. 
     285 *  @{ */ 
     286__extern cucul_file_t *cucul_file_open(char const *, const char *); 
     287__extern int cucul_file_close(cucul_file_t *); 
     288__extern size_t cucul_file_read(cucul_file_t *, void *, size_t); 
     289__extern size_t cucul_file_write(cucul_file_t *, const void *, size_t); 
     290__extern char * cucul_file_gets(cucul_file_t *, char *, int); 
     291__extern int cucul_file_eof(cucul_file_t *); 
    279292/*  @} */ 
    280293 
Note: See TracChangeset for help on using the changeset viewer.