Re: apr_json.h not found!

2019-08-05 Thread Bill Moo
from svn, run buildconf > in the checkout and then do the usual configure, make, ... > > But note it is not released software. Good enough for testing and > probably a first APR-UTIL 1.7 release is not too far away. > > Regards, > > Rainer > > Am 05.08.2019 um 13:56 schri

apr_json.h not found!

2019-08-05 Thread Bill Moo
Having realised I need to use the buckets and brigades to save the JSON I am now trying to use the JSON Encode / Decode library but when I include the apr_json.h file I’m told that it can’t be found and sure enough a search of the file system proves that the file doesn’t exist on the file system.

Example or tutorial on using APR JSON

2019-08-02 Thread Bill Moo
Hello, I've search the internet but I can't find an example of how to use this portion of the library. I need to create a JSON file with data populated from a database but to be honest I don't know where to start. I see methods for creating objects, strings, arrays etc. But how do I get the

Re: How to write to log from own functions?

2019-07-31 Thread Bill Moo
Thanks again Eric, I did suspect that that would be the solution. I feel another parameter coming on. On Wed, 31 Jul 2019 at 14:49, Eric Covener wrote: > > On Wed, Jul 31, 2019 at 9:44 AM Bill Moo wrote: > > > > As the subject says really. How can I write to the log from my

How to write to log from own functions?

2019-07-31 Thread Bill Moo
As the subject says really. How can I write to the log from my own functions I see nothing (obvious) in the documentation on how to do this. The functions that are there require a server_rec, connection or pool pointer, that I don’t have access to in my own functions. -- Bill

Re: [EXTERNAL] Re: No content returned from directive handler sample.

2019-07-31 Thread Bill Moo
iling and declining the offer! On Wed, 31 Jul 2019 at 07:11, Bill Moo wrote: > > No I hadn't so thank you Christopher. > > On Tue, 30 Jul 2019 at 17:37, Nebergall, Christopher > wrote: > > > > Have you seen this example? > > > > https://svn.apache

Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
, or indeed anyone, tell me how I can write 'debug' output to either the console or one of the Apache logs please. If I can do this I'll at least be able to see if my code is being called prior to the DECLINE. On Tue, 30 Jul 2019 at 16:44, Eric Covener wrote: > > On Tue, Jul 30, 2019 at 11:41 A

Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
: > > On Tue, Jul 30, 2019 at 11:07 AM Bill Moo wrote: > > > > Hello, > > > > I am embarking on my first module and using the Apache provided > > example to dump my module's configuration as my starting point I’m > > having no real success. > > > > I hav

No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
Hello, I am embarking on my first module and using the Apache provided example to dump my module's configuration as my starting point I’m having no real success. I have configured everything as per the sample and compiled and configured using: sudo apxs -i -a -n mod_graphing -c mod_graphing.c