Ignore:
Timestamp:
Apr 21, 2006, 8:44:04 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Moved cucul_load_canvas() into cucul/import.c and renamed it into cucul_import_canvas().
  • Renamed cucul_create_export() into cucul_export_canvas() for consistency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaserver.c

    r818 r826  
    227227            cucul_free_canvas(server->canvas);
    228228
    229         server->canvas = cucul_load_canvas(buf, size);
     229        server->canvas = cucul_import_canvas(buf, size, "caca");
    230230
    231231        if(!server->canvas)
     
    241241        /* Get ANSI representation of the image and skip the end-of buffer
    242242         * linefeed ("\r\n", 2 bytes) */
    243         server->buffer = cucul_create_export(server->canvas, "ansi");
     243        server->buffer = cucul_export_canvas(server->canvas, "ansi");
    244244        server->bufdata = cucul_get_buffer_data(server->buffer);
    245245        server->buflen = cucul_get_buffer_size(server->buffer);
Note: See TracChangeset for help on using the changeset viewer.