Corrected functions:
#define CLK_SRC_INT  0
#define CLK_SRC_EXT  1
RPC_EXPORT void SetClockSource(uint8_t source);

RPC_EXPORT bool IsClockPresent();
Shows if an external clock is present