/usr/share/vala/vapi/r_lang.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 | /* radare2 - LGPL - Copyright 2009-2013 - nibble, pancake */
[CCode (cheader_filename="r_lang.h", cprefix="r_lang_", lower_case_cprefix="r_lang_")]
namespace Radare {
[Compact]
[CCode (cname="RLang", free_function="r_lang_free", cprefix="r_lang_")]
public class RLang {
public RLang ();
public bool define(string type, string name, void* ptr);
public bool @add(RLang.Plugin plugin);
public bool use(string name);
public void undef(string name);
public bool list();
public bool set_argv(int argc, char **argv);
public bool run(string code, int len);
public bool run_file(string file);
public Plugin get_by_extension (string file);
public Plugin get_by_name (string file);
public bool prompt();
[Compact]
[CCode (cname="RLangPlugin", destroy_function="", free_function="" )]
public class Plugin {
public string name;
public string desc;
//public string *help;
// TODO: Add missing delegates
}
public Plugin cur;
}
}
|