Either one.  I chose the header files because it makes for fewer overall edits.  auth.c, client.c, and main.c all use this function.