Thank you very much!! It helped a lot. On Wed, Mar 9, 2016 at 9:26 PM, Clemens Ladisch <clemens at ladisch.de> wrote:
> Sairam Gaddam wrote: > > The documentation says that the function sqlite3_update_hook() is called > > whenever a row is updated, deleted or inserted > > No. It says that this function is called to register a callback > function that is called for these updates. > > > And I don't find any definition for this callback routine. > > void my_little_callback(void *stuff, int op, const char *db, const char > *table, sqlite_int64 rowid) > { > printf("something was updated\n"); > } > > int main() > { > ... > sqlite3_update_hook(db, my_little_callback, NULL); > ... > } > > > Regards, > Clemens > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >