Back to index

php5  5.3.10
Functions
php_webjames.h File Reference
#include "webjames.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void webjames_php_shutdown (void)
int webjames_php_init (void)
void webjames_php_request (struct connection *conn)

Function Documentation

int webjames_php_init ( void  )

Definition at line 309 of file webjames.c.

{
       TSRMLS_FETCH();
       if (strcmp(configuration.webjames_h_revision,WEBJAMES_H_REVISION)!=0) {
              /*This file was compiled against a different revision of
                webjames.h than webjames was, which could be bad news*/
              webjames_writelog(0,"PHP module is compiled for WebJames (%s) and was linked with a different version (%s)",WEBJAMES_H_REVISION,configuration.webjames_h_revision);
              return 0; /*failed to initialise*/
       }
       sapi_startup(&sapi_module);
       sapi_module.startup(&sapi_module);
       SG(server_context) = (void *) 1;
       return 1; /*initialised correctly*/
}

Here is the call graph for this function:

void webjames_php_request ( struct connection *  conn)

Definition at line 228 of file webjames.c.

{
       TSRMLS_FETCH();

       WG(conn) = conn;
       WG(bodyread) = 0;
       WG(oldclose) = conn->close;
       conn->close=webjames_php_close;

       webjames_module_main(TSRMLS_C);

       WG(oldclose)(WG(conn), 0);
}

Here is the call graph for this function:

void webjames_php_shutdown ( void  )

Definition at line 325 of file webjames.c.

Here is the call graph for this function: