title: Hooking within my application
body: <p>What should I do to implement a hook-like system?<br>
  This is my setup:</p>
  
  <p>I have these static libraries:</p>
  
  <ul>
  <li>A.lib</li>
  <li>B.lib</li>
  </ul>
  
  <p>A and B are like modules that can be included together within a same application. The thing is I have a function in A that I want to expose to B. I was doing this with a callback list... but I'm not comfortable with this idea. So I think I can implement a hooking-like system, like Win32API has, but I want to hear an opinion from an expert.</p>
  
  <p>Of course, I have access to both source-codes.</p>
  
  <p>NOTE: I forgot to mention that I'm NOT using classes, and I can't create a class or object for this project, because of a design decision, so something like inheritance is not allowed here.</p>