Changeset 0662451 in mainline for uspace/app/bdsh/tok.h
- Timestamp:
- 2011-08-19T14:44:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5992e0e
- Parents:
- 89660f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/tok.h
r89660f2 r0662451 38 38 typedef struct { 39 39 char *text; 40 off_t byte_start;41 off_t char_start;40 unsigned int byte_start; 41 unsigned int char_start; 42 42 size_t byte_length; 43 43 size_t char_length; … … 47 47 typedef struct { 48 48 char *in; 49 off_t in_offset;50 off_t last_in_offset;51 off_t in_char_offset;52 off_t last_in_char_offset;49 unsigned int in_offset; 50 unsigned int last_in_offset; 51 unsigned int in_char_offset; 52 unsigned int last_in_char_offset; 53 53 54 54 char *outbuf; … … 58 58 59 59 token_t *outtok; 60 token_type_t current_type; 60 61 size_t outtok_offset; 61 62 size_t outtok_size; … … 64 65 extern int tok_init(tokenizer_t *, char *, token_t *, size_t); 65 66 extern void tok_fini(tokenizer_t *); 66 extern int tok_tokenize(tokenizer_t * );67 extern int tok_tokenize(tokenizer_t *, size_t *); 67 68 68 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.