call the C function time() when module starts-up and store the time in a time_t variable.
Modify all the entry point functions of your C module in order to call time() and verify that are not elapsed 15*60 = 900 seconds.
Return -1 if 900 seconds are elapsed.