diff options
Diffstat (limited to 'src/psearch.h')
-rw-r--r-- | src/psearch.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/psearch.h b/src/psearch.h index fb4bf92d..fb4c7f39 100644 --- a/src/psearch.h +++ b/src/psearch.h @@ -1,3 +1,27 @@ +/* + + File: psearch.h + + Copyright (C) 2020 Christophe GRENIER <[email protected]> + + This software is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write the Free Software Foundation, Inc., 51 + Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + */ +#ifndef _PSEARCH_H +#define _PSEARCH_H + static inline alloc_data_t *file_add_data(alloc_data_t *data, const uint64_t offset, const unsigned int content) { if(!(data->start <= offset && offset <= data->end)) @@ -57,4 +81,4 @@ static inline int ind_block(const unsigned char *buffer, const unsigned int bloc return 1; /* Ok: ind_block points to non-fragmented block */ } - +#endif |