db: introduce add_returned_state_callback()
commit4d1bf2b5af4313376a7e106c0be75e7ab347b1ef
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Dec 2012 18:06:16 +0000 (5 21:06 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Dec 2012 18:06:16 +0000 (5 21:06 +0300)
treeec40091bde903899fa85c87c7070291085471aaa
parent6c5e6b4c5f6b0728a40a288ed4d539bca85cc8ff
db: introduce add_returned_state_callback()

These callbacks will be used to fill the return_states table in the
database.  Everything that wants a return_id will have to be written
like that.

It passes an slist as a parameter.  Use that instead of the cur_slist.
Right now they are equivalent, but later it will change.

I have updated the "return_marker" function to the new callback system.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_db.c