mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-21 06:40:33 +00:00

- Fixes ruby warnings - Follow java syntax conventions - Helped to identify and fix bugs in many vapis - Sync swig examples - Add test-r_core.rb (ruby test for RCore) * Some work in r_cons, some refactoring and cleanup - scr.html is now working again - w32 cons support should work now - Rename r_cons_get_columns -> r_cons_get_size() - But it needs more work * Typedef all r_range, r_parse and r_anal structs - Add missing r_lib.pc in configure.acr * 'make' clean now removes the libr* in swig/${LANG}/
25 lines
593 B
Vala
25 lines
593 B
Vala
/* radare - LGPL - Copyright 2009-2010 pancake<@nopcode.org> */
|
|
|
|
[Compact]
|
|
[CCode (cheader_filename="r_db.h", cname="struct r_db_t", free_function="r_db_free", cprefix="r_db_")]
|
|
public class Radare.RDatabase {
|
|
/* lifecycle */
|
|
public RDatabase();
|
|
/**
|
|
* Initializes a database object
|
|
*/
|
|
public void init();
|
|
public void free();
|
|
|
|
/* storage */
|
|
public int add_id(int off, int size);
|
|
public bool @add(void *b);
|
|
public bool add_unique(void *b);
|
|
public bool delete(void *b);
|
|
public void* get(int key, uint8* buf);
|
|
|
|
/* stacky! */
|
|
public int push(ref uint8* buf);
|
|
public uint8 *pop();
|
|
}
|