/[public]/psiconv/trunk/lib/psiconv/parse_routines.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_routines.h

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

Revision 63 Revision 64
46/* ****************** 46/* ******************
47 * parse_simple.c * 47 * parse_simple.c *
48 ****************** */ 48 ****************** */
49 49
50extern psiconv_u8 psiconv_read_u8(const psiconv_buffer buf,int lev, 50extern psiconv_u8 psiconv_read_u8(const psiconv_buffer buf,int lev,
51 psiconv_u32 off); 51 psiconv_u32 off, int *status);
52extern psiconv_u16 psiconv_read_u16(const psiconv_buffer buf,int lev, 52extern psiconv_u16 psiconv_read_u16(const psiconv_buffer buf,int lev,
53 psiconv_u32 off); 53 psiconv_u32 off, int *status);
54extern psiconv_u32 psiconv_read_u32(const psiconv_buffer buf,int lev, 54extern psiconv_u32 psiconv_read_u32(const psiconv_buffer buf,int lev,
55 psiconv_u32 off); 55 psiconv_u32 off, int *status);
56 56
57extern psiconv_S_t psiconv_read_S(const psiconv_buffer buf, int lev, 57extern psiconv_S_t psiconv_read_S(const psiconv_buffer buf, int lev,
58 psiconv_u32 off, int *length); 58 psiconv_u32 off, int *length, int *status);
59extern psiconv_X_t psiconv_read_X(const psiconv_buffer buf, int lev, 59extern psiconv_X_t psiconv_read_X(const psiconv_buffer buf, int lev,
60 psiconv_u32 off, int *length); 60 psiconv_u32 off, int *length, int *status);
61extern psiconv_length_t psiconv_read_length(const psiconv_buffer buf, int lev, 61extern psiconv_length_t psiconv_read_length(const psiconv_buffer buf, int lev,
62 psiconv_u32 off, int *length); 62 psiconv_u32 off, int *length,
63 int *status);
63extern psiconv_size_t psiconv_read_size (const psiconv_buffer buf, int lev, 64extern psiconv_size_t psiconv_read_size (const psiconv_buffer buf, int lev,
64 psiconv_u32 off, int *length); 65 psiconv_u32 off, int *length,
66 int *status);
65extern psiconv_string_t psiconv_read_string(const psiconv_buffer buf,int lev, 67extern psiconv_string_t psiconv_read_string(const psiconv_buffer buf,int lev,
66 psiconv_u32 off,int *length); 68 psiconv_u32 off,int *length,
69 int *status);
67 70
68extern int psiconv_parse_bool(const psiconv_buffer buf, int lev, 71extern int psiconv_parse_bool(const psiconv_buffer buf, int lev,
69 psiconv_u32 off, int *length, 72 psiconv_u32 off, int *length,
70 psiconv_bool_t *result); 73 psiconv_bool_t *result);
71 74
91 psiconv_bullet *result); 94 psiconv_bullet *result);
92 95
93extern int psiconv_parse_tab(const psiconv_buffer buf, int lev, 96extern int psiconv_parse_tab(const psiconv_buffer buf, int lev,
94 psiconv_u32 off, int *length, 97 psiconv_u32 off, int *length,
95 psiconv_tab *result); 98 psiconv_tab *result);
99
100/* Note: the next two are special, because they modify an existing
101 layout structure! If it exits due to an unexpected error, part
102 of the structure may be modified, but it is still safe to call
103 psiconv_free_{paragraph,character}_layout_list on it (and that
104 is the only safe thing to do!) */
96 105
97extern int psiconv_parse_paragraph_layout_list(const psiconv_buffer buf, 106extern int psiconv_parse_paragraph_layout_list(const psiconv_buffer buf,
98 int lev, psiconv_u32 off, int *length, 107 int lev, psiconv_u32 off, int *length,
99 psiconv_paragraph_layout result); 108 psiconv_paragraph_layout result);
100 109

Legend:
Removed from v.63  
changed lines
  Added in v.64

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26