src/c2html.h

changeset 70
60cecca5e484
parent 66
1b12cf799fee
equal deleted inserted replaced
69:ff56b28e2cdd 70:60cecca5e484
43 #define VERSION_DEVELOP 0 /* set this to zero for release version */ 43 #define VERSION_DEVELOP 0 /* set this to zero for release version */
44 44
45 /** 45 /**
46 * Writes the formatted source data to the output buffer. 46 * Writes the formatted source data to the output buffer.
47 * 47 *
48 * @param inputbuffer the source file data as string 48 * @param inputtext the source file data as zero-terminated string
49 * @param inputbuflen the length of the source file
50 * @param outbuf the output buffer 49 * @param outbuf the output buffer
51 * @param wfnc a write function for the output buffer 50 * @param wfnc a write function for the output buffer
52 * @param hltr the highlighter function 51 * @param hltr the highlighter function
53 * @param showln zero, if line numbers shall be omitted, nonzero otherwise 52 * @param showln zero, if line numbers shall be omitted, nonzero otherwise
54 * 53 *
56 * 55 *
57 * @see c2html_plain_highlighter() 56 * @see c2html_plain_highlighter()
58 * @see c2html_c_highlighter() 57 * @see c2html_c_highlighter()
59 * @see c2html_java_highlighter() 58 * @see c2html_java_highlighter()
60 */ 59 */
61 size_t c2html_bformat(char const* inputbuffer, size_t inputbuflen, 60 size_t c2html_textformat(char const* inputtext,
62 void* outbuf, cx_write_func wfnc, 61 void* outbuf, cx_write_func wfnc,
63 c2html_highlighter_func hltr, int showln); 62 c2html_highlighter_func hltr, int showln);
64 63
65 /** 64 /**
66 * Writes the formatted source data to the output buffer. 65 * Writes the formatted source data to the output buffer.
67 * 66 *
68 * This function takes a list of \c char* that point to the beginning of each 67 * This function takes a list of \c char* that point to the beginning of each

mercurial