/usr/share/vala/vapi/r_flags.vapi is in radare2-vala 0.9.6-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /* radare - LGPL - Copyright 2010 pancake<@nopcode.org> */
[CCode (cheader_filename="r_flags.h,r_list.h,r_types_base.h", cprefix="r_flag_", lower_case_cprefix="r_flag_")]
namespace Radare {
[Compact]
[CCode (cprefix="r_flag_item_", cname="RFlagItem", free_function="")]
public class RFlagItem {
public char name[128]; // FIXME proper static strings w/o hardcoded size
public uint64 namehash;
public int space;
public uint64 size;
public uint64 offset;
public string cmd;
public void set_name(string name);
}
[Compact]
[CCode (cname="RFlag", free_function="r_flag_free", cprefix="r_flag_")]
public class RFlag {
public int space_idx;
public RFlag();
public RList<RFlagItem> flags;
public void list(bool rad);
public RFlagItem get(string name);
public RFlagItem get_i(uint64 addr);
public bool unset(string name, RFlagItem? item);
public bool unset_i(uint64 addr, RFlagItem? item);
public bool sort(int namesort);
//public static bool name_check(string name);
//public static bool name_filter(string name);
public void set(string name, uint64 addr, int size=1, bool dup=false);
public bool space_list(int type);
public unowned string? space_get_i(int idx);
public int space_get(string name);
//public int space_get_i(string fsname);
public void space_set(string name);
}
}
|