RE: C++ wrapper for some API sections

2010-07-22 Thread Manjesh Nilange
o:mt...@apache.org] > Sent: Thursday, July 22, 2010 3:45 AM > To: dev@trafficserver.apache.org > Subject: Re: C++ wrapper for some API sections > > On 07/22/2010 12:09 AM, Manjesh Nilange wrote: > > The attachments are missing (even though my sent folder email says the > >

Re: C++ wrapper for some API sections

2010-07-22 Thread Mladen Turk
On 07/22/2010 12:09 AM, Manjesh Nilange wrote: The attachments are missing (even though my sent folder email says the attachments were part of it). I'm just going to copy-paste the two files in the email. Why don't create the JIRA issue (the usual way) and attach the code in there. I doubt any

RE: C++ wrapper for some API sections

2010-07-21 Thread Manjesh Nilange
np, &resp._buf, &resp._loc) == 1); } bool getClientResp(HttpResponse &resp) { resp.clear(); return (INKHttpTxnClientRespGet(_txnp, &resp._buf, &resp._loc) == 1); } private: INKHttpTxn _txnp; }; }; #endif > -O

C++ wrapper for some API sections

2010-07-21 Thread Manjesh Nilange
Hi all, I started working on a C++ wrapper for some of the API functions to make some of the data structures easier to use. What I did was basically wrap the pointers and types so that they can be automatically released/destroyed. I abandoned working on this as I have other things on my place. How