torture: add compressed file attribute ioctl test
[Samba.git] / source3 / utils / regedit_valuelist.h
blobd01db51be296581eb1aae5fc33a119b82c280aac
1 /*
2 * Samba Unix/Linux SMB client library
3 * Registry Editor
4 * Copyright (C) Christopher Davis 2012
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _REGEDIT_VALUELIST_H_
21 #define _REGEDIT_VALUELIST_H_
23 #include "includes.h"
24 #include <ncurses.h>
25 #include <menu.h>
26 #include <panel.h>
28 struct registry_key;
30 struct value_item {
31 uint32_t type;
32 DATA_BLOB data;
33 const char *value_name;
34 char *value_desc;
35 bool unprintable;
38 struct value_list {
39 WINDOW *window;
40 PANEL *panel;
41 MENU *menu;
42 ITEM **items;
43 ITEM **empty;
46 struct value_list *value_list_new(TALLOC_CTX *ctx, int nlines, int ncols,
47 int begin_y, int begin_x);
48 void value_list_show(struct value_list *vl);
49 WERROR value_list_load(struct value_list *vl, struct registry_key *key);
50 void value_list_resize(struct value_list *vl, int nlines, int ncols,
51 int begin_y, int begin_x);
53 #endif