On Apr 18, 2012, at 3:08 AM, Igor Galić wrote: > Picking up a conversation from IRC, for documentation > and for maybe for giving my two cents > > > <@jpeach> zwoop: for 3.2 release, shall we remove deprecated <ts/ts.h> APIs? > <@zwoop> Hmmm, good question > <@zwoop> I was thinking maybe leaving them until 4.0 ? > <@jpeach> some of the deprecations are pretty old > <@zwoop> before 3.0 ? > <@jpeach> could just remove the declarations and keep the implementations > <@zwoop> I guess if they were deprecated before 3.0, it's ok ? > <@zwoop> use your best judgement, I gotta go :) > <@jpeach> then binary compatibility would be ok and we would know who gets > broken when they rebuild > <@jpeach> carte blanche! > > I'd remove all APIs that we've deprecated before 3.0, both > implementation and declaration. > I'd gradually remove the declarations, and every new X.0 release > remove the one's deprecated during x-1 phase.
https://issues.apache.org/jira/browse/TS-1210 I'd like to remove the following APIs that were deprecated in 3.0.x: tsapi TS_DEPRECATED unsigned int TSHttpTxnClientIPGet(TSHttpTxn txnp); tsapi TS_DEPRECATED TSReturnCode TSHttpTxnClientRemotePortGet(TSHttpTxn txnp, int* portp); tsapi TS_DEPRECATED int TSHttpTxnClientIncomingPortGet(TSHttpTxn txnp); tsapi TS_DEPRECATED unsigned int TSHttpTxnServerIPGet(TSHttpTxn txnp); tsapi TS_DEPRECATED unsigned int TSHttpTxnNextHopIPGet(TSHttpTxn txnp); tsapi TS_DEPRECATED int TSHttpTxnNextHopPortGet(TSHttpTxn txnp); tsapi TS_DEPRECATED int TSHttpTxnMaxArgCntGet(void); tsapi TS_DEPRECATED unsigned int TSNetVConnRemoteIPGet(TSVConn vc); tsapi TS_DEPRECATED int TSNetVConnRemotePortGet(TSVConn vc); tsapi TS_DEPRECATED unsigned int TSHostLookupResultIPGet(TSHostLookupResult lookup_result); tsapi TS_DEPRECATED void TSOSIpSet(TSHttpTxn txnp, unsigned int ip); tsapi TS_DEPRECATED void TSIOBufferAppend(TSIOBuffer bufp, TSIOBufferBlock blockp); tsapi TS_DEPRECATED TSIOBufferData TSIOBufferDataCreate(void* data, int size, TSIOBufferDataFlags flags); tsapi TS_DEPRECATED TSIOBufferBlock TSIOBufferBlockCreate(TSIOBufferData datap, int size, int offset); and let's talk about the following APIs that were supported in 3.0.x but deprecated in 3.1.x: tsapi TSReturnCode TSUrlDestroy(TSMBuffer bufp, TSMLoc offset); > > i > > -- > Igor Galić > > Tel: +43 (0) 664 886 22 883 > Mail: i.ga...@brainsware.org > URL: http://brainsware.org/ > GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE >