I choose outside, why?
Because that makes the code more readable and structured at the same time.
How?
You know how a C code is structured right? Headers(foo.h) and the C code itself (foo.c).
The main purpose of the Header(foo.h) is to give a synopsis of the defined symbols(variables and functions) in foo.c, while the foo.c will be used to "describe" such symbols(variables and functions).
A class is composed of variables and functions(symbols), the c code contains the description of the symbols while the Header contains the synopsis of them.