Changeset 15d0046 in mainline for uspace/dist/src/c/demos/edit/search_impl.h
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/edit/search_impl.h
r8db09e4 r15d0046 1 1 /* 2 * Copyright (c) 20 06 Sergey Bondari2 * Copyright (c) 2012 Martin Sucha 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips6429 /** @addtogroup edit 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 33 34 */ 34 35 35 #ifndef KERN_mips64_ELF_H_36 #define KERN_mips64_ELF_H_36 #ifndef SEARCH_IMPL_H__ 37 #define SEARCH_IMPL_H__ 37 38 38 # define ELF_MACHINE EM_MIPS39 #include "search.h" 39 40 40 #ifdef __BE__ 41 #define ELF_DATA_ENCODING ELFDATA2MSB 42 #else 43 #define ELF_DATA_ENCODING ELFDATA2LSB 44 #endif 41 /** Search state */ 42 struct search { 43 /* Note: This structure is opaque for the user. */ 45 44 46 #define ELF_CLASS ELFCLASS64 45 const wchar_t *pattern; 46 size_t pattern_length; 47 ssize_t *back_table; 48 size_t pattern_pos; 49 void *client_data; 50 search_ops_t ops; 51 }; 47 52 48 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.