If you want to have functions within a library that only the library itself should be able to use or variables that shouldn't be accessed from outside, you usually make them private by writing this in the header file:
// All these can be accessed from outside
// These two can't be accessed from outside
My question is this:
I want to write this library without using classes. How do I protect things from being accessed from anywhere in this case?