diff options
author | David Sterba <dsterba@suse.com> | 2017-10-20 00:48:30 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-14 15:59:00 +0100 |
commit | 095d143afaef655aac22e91a89effb977b22f0e6 (patch) | |
tree | 9f942dd2552be2d498a08a21dccd48da23e02626 /image/sanitize.h | |
parent | af524c95392b409be3b7643c9ac117b5e060a26e (diff) |
btrfs-progs: image: start a new header for sanitization functions
Will be used by following cleanups, so far only the name structure could
be moved here.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'image/sanitize.h')
-rw-r--r-- | image/sanitize.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/image/sanitize.h b/image/sanitize.h new file mode 100644 index 00000000..b979f813 --- /dev/null +++ b/image/sanitize.h @@ -0,0 +1,30 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License v2 as published by the Free Software Foundation. + * + * 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 to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 021110-1307, USA. + */ + +#ifndef __BTRFS_IMAGE_SANITIZE_H__ +#define __BTRFS_IMAGE_SANITIZE_H__ + +#include "kerncompat.h" +#include "image/metadump.h" + +struct name { + struct rb_node n; + char *val; + char *sub; + u32 len; +}; + +#endif |