Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

u_char * -> const u_char * patch acceptable?

From: Alfred Landrum <alfred(at)nbttech.com>
Date: Mon Jun 23 2003 - 19:42:35 EDT
('binary' encoding is not supported, stored as-is)

First off, thank you for libnet, it's terrific, and terribly useful. We're using it mainly for QA purposes.

My question:

We compile with lots o' warnings here, so I have to cast away const's on many of my calls into libnet.

If I were to produce a patch that basically transformed:

libnet_pblock_append(libnet_t *, libnet_pblock_t *,

                     u_char *, u_long)

into

libnet_pblock_append(libnet_t *, libnet_pblock_t *,

                     const u_char *, u_long)

and fixed up all of the libnet_build_* calls to match, would it have a chance at being accepted for 1.1.1?



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Mon Jun 23 20:30:38 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library