[Asterisk-Dev] compiling new module; conflicting function

Brent Priddy toopriddy at gmail.com
Mon May 30 20:30:09 MST 2005


> Renaming asterisk's function is out of the question, as is renaming snmpd's.
> How does one overcome this?

Just split things up into two files, one with asterisk apecific
functions (which will include module.h) and another with the snmp type
functions (which will include the net-snmp/library/parse.h)... It
seems like a kludge, but this is why things should be done in C++ with
namespaces :(
(yes I know it will not happen in asterisk, not trying to get flames
here... nothing to see here move along)



More information about the asterisk-dev mailing list