that is possible. I'd prefer the function (__ivaliduser and __ivaliduers_sa) to become file static function. something like this? #ifndef LPD static #endif int __ivaliduser_sa() i like it.