/usr/share/vala/vapi/r_magic.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 | /* radare - LGPL - Copyright 2011-2012 pancake<@nopcode.org> */
namespace Radare {
[Compact]
[CCode (cheader_filename="r_magic.h", cname="RMagic", free_function="r_magic_free", cprefix="r_magic_")]
public class RMagic {
public RMagic(int flags);
public unowned string file(string f);
public unowned string descriptor(int d);
public unowned string buffer(void *buffer, int n);
public int load(string file);
public int check(string file);
public int compile(string file);
public void setflags(int flags);
}
}
|