No, believe it or not you can't put a variable definition into a header file as it requires memory space for data! That's C programming basics. I'm loosing patience.
So please choose one of the three possibilities:
1. global variable in maps.[ch],
2. globals_t,
3. static variable in handlers.c

I prefer globals_t as it was before.