radare2/libr/bp/bp.c

26 lines
371 B
C
Raw Normal View History

/* radare - LGPL - Copyright 2009 pancake<nopcode.org> */
#include <r_bp.h>
int r_bp_init(struct r_bp_t *bp)
{
return R_TRUE;
}
struct r_bp_t *r_bp_new()
{
struct r_bp_t *bp = MALLOC_STRUCT(struct r_bpt);
r_bp_init(bp);
return bp;
}
struct r_bp_t *r_bp_free(struct r_bp_t *bp)
{
free(bp);
return NULL;
}
int r_bp_add(struct r_bp_t *bp, u64 addr, int type)
{
}