Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/edit/search_impl.h

    r8db09e4 r15d0046  
    11/*
    2  * Copyright (c) 2006 Sergey Bondari
     2 * Copyright (c) 2012 Martin Sucha
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup mips64
     29/** @addtogroup edit
    3030 * @{
    3131 */
    32 /** @file
     32/**
     33 * @file
    3334 */
    3435
    35 #ifndef KERN_mips64_ELF_H_
    36 #define KERN_mips64_ELF_H_
     36#ifndef SEARCH_IMPL_H__
     37#define SEARCH_IMPL_H__
    3738
    38 #define ELF_MACHINE  EM_MIPS
     39#include "search.h"
    3940
    40 #ifdef __BE__
    41         #define ELF_DATA_ENCODING  ELFDATA2MSB
    42 #else
    43         #define ELF_DATA_ENCODING  ELFDATA2LSB
    44 #endif
     41/** Search state */
     42struct search {
     43        /* Note: This structure is opaque for the user. */
    4544
    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};
    4752
    4853#endif
Note: See TracChangeset for help on using the changeset viewer.