I'm new to C and am working on this project. In there, there's these lines of code...
then in main, they have this..
smpl_handler(manager man, void *virt_event, void *c_data, att_list attrs)
simple_rec_ptr loc_event = virt_event;
term_action is a function and they're passing in the other function? smpl_handler has parameters but those aren't passed.. I'm confused as to what's going on here
term_action(man, stn_ev, format_list, smpl_handler);
also smpl_handler is defined as "static int"... but it's a function that doesn't return any values....