trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dianes <dia...@yahoo-inc.com>
Subject Re: Documentation / SDK correction
Date Thu, 22 Apr 2010 17:32:27 GMT
Ditto on what Leif wrote- I'm on this today :)

-diane


Leif Hedstrom wrote:
> On 04/21/2010 06:10 AM, shirish wrote:
> Hello,
> 
> I was going through the documentation of traffic server sdk
> http://incubator.apache.org/trafficserver/docs/v2/sdk/ASimplePlugin.html
> 
> the source code example of hello-world has deprecated name ( I suppose ) if InkAPI.h
which has been renamed in the issue https://issues.apache.org/jira/browse/TS-9 ,
> InkAPI.h and RemapPlugin.h are missing from /usr/local/include
> 
> Diane is working on updating all the docs for these changes.
> 
> to ts.h in and the #include of hello-world.c should be modified as #include "ts/ts.h"
and also after replacing it. There is a small logical flaw in the program compilation using
gcc
> 
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> 
> 
> actually raises error
> /usr/local/include/ts/ts.h:2031: error: expected declaration specifiers or ‘...’
before ‘bool’
> 
> This is fixed both on trunk and as of last night, on the 2.0.x branch.
> 
> Cheers,
> 
> - Leif
> 
> 

Mime
View raw message