More generic answer, please always take a look in wsutil and glib documentation for things like that. Those functions are usually accepted (with a few exceptions in glib I think).
cheers Roland On Fri, Jul 7, 2017 at 10:08 AM, Pascal Quantin <[email protected]> wrote: > Hi Paul, > > 2017-07-07 10:03 GMT+02:00 Paul Offord <[email protected]>: > >> Hi, >> >> A petri dish run against code I submitted failed with: >> >> >> >> Error: Found prohibited APIs in plugins/syncro/packet-syncro.c: >> atoi,sprintf >> >> Error: Found prohibited APIs in plugins/syncro/syncroparser.c: tolower >> >> >> >> The sprint thing was an oversight on my part. What should I use instead >> of atoi and tolower? >> > > ws_strtoi(8|16|32|64) functions and g_ascii_tolower > > >> >> >> Thanks and regards…Paul >> >> >> >> PS: Watch this short video <http://www.advance7.com/react/> to discover >> how we help businesses, public bodies and service providers to solve IT >> performance and stability issues. >> >> >> >> Paul Offord FBCS CITP >> >> Chief Technical Officer >> >> Advance7 >> >> >> >> Phone: 01279 211 668 >> >> Mobile: 07764 931 431 >> >> Email: [email protected] >> >> LinkedIn: https://uk.linkedin.com/in/paulofford >> >> >> >> ______________________________________________________________________ >> >> This message contains confidential information and is intended only for >> the individual named. If you are not the named addressee you should not >> disseminate, distribute or copy this e-mail. Please notify the sender >> immediately by e-mail if you have received this e-mail by mistake and >> delete this e-mail from your system. >> >> Any views or opinions expressed are solely those of the author and do not >> necessarily represent those of Advance Seven Ltd. E-mail transmission >> cannot be guaranteed to be secure or error-free as information could be >> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or >> contain viruses. The sender therefore does not accept liability for any >> errors or omissions in the contents of this message, which arise as a >> result of e-mail transmission. >> >> Advance Seven Ltd. Registered in England & Wales numbered 2373877 at >> Endeavour House, Coopers End Lane, Stansted, Essex CM24 1SJ >> >> ______________________________________________________________________ >> This email has been scanned by the Symantec Email Security.cloud service. >> For more information please visit http://www.symanteccloud.com >> ______________________________________________________________________ >> >> ____________________________________________________________ >> _______________ >> Sent via: Wireshark-dev mailing list <[email protected]> >> Archives: https://www.wireshark.org/lists/wireshark-dev >> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev >> mailto:[email protected]?subject=unsubscr >> ibe >> > > > ____________________________________________________________ > _______________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: https://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev > mailto:[email protected]?subject= > unsubscribe >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
