SQLite Forum

identification of user function
Login
Pass a different value into sqlite3_create_function() for the pApp parameter,
and then inside of dates_in_month(), check the result of sqlite3_user_data() to figure out which form of the function was invoked.