Back to index

php5  5.3.10
Functions | Variables
skeleton.c File Reference
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_extname.h"

Go to the source code of this file.

Functions

 PHP_MINIT_FUNCTION (extname)
 PHP_MSHUTDOWN_FUNCTION (extname)
 PHP_RINIT_FUNCTION (extname)
 PHP_RSHUTDOWN_FUNCTION (extname)
 PHP_MINFO_FUNCTION (extname)
 PHP_FUNCTION (confirm_extname_compiled)

Variables

static int le_extname
const zend_function_entry extname_functions []
zend_module_entry extname_module_entry

Function Documentation

PHP_FUNCTION ( confirm_extname_compiled  )

Definition at line 137 of file skeleton.c.

{
       char *arg = NULL;
       int arg_len, len;
       char *strg;

       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) == FAILURE) {
              return;
       }

       len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg);
       RETURN_STRINGL(strg, len, 0);
}

Here is the call graph for this function:

PHP_MINFO_FUNCTION ( extname  )

Definition at line 117 of file skeleton.c.

{
       php_info_print_table_start();
       php_info_print_table_header(2, "extname support", "enabled");
       php_info_print_table_end();

       /* Remove comments if you have entries in php.ini
       DISPLAY_INI_ENTRIES();
       */
}

Here is the call graph for this function:

PHP_MINIT_FUNCTION ( extname  )

Definition at line 77 of file skeleton.c.

{
       /* If you have INI entries, uncomment these lines 
       REGISTER_INI_ENTRIES();
       */
       return SUCCESS;
}
PHP_MSHUTDOWN_FUNCTION ( extname  )

Definition at line 88 of file skeleton.c.

{
       /* uncomment this line if you have INI entries
       UNREGISTER_INI_ENTRIES();
       */
       return SUCCESS;
}
PHP_RINIT_FUNCTION ( extname  )

Definition at line 100 of file skeleton.c.

{
       return SUCCESS;
}
PHP_RSHUTDOWN_FUNCTION ( extname  )

Definition at line 109 of file skeleton.c.

{
       return SUCCESS;
}

Variable Documentation

Initial value:
 {
       PHP_FE(confirm_extname_compiled,   NULL)         
       
       PHP_FE_END    
}

Definition at line 23 of file skeleton.c.

zend_module_entry extname_module_entry
Initial value:
 {



       "extname",
       extname_functions,
       PHP_MINIT(extname),
       PHP_MSHUTDOWN(extname),
       PHP_RINIT(extname),         
       PHP_RSHUTDOWN(extname),     
       PHP_MINFO(extname),



       STANDARD_MODULE_PROPERTIES
}

Definition at line 32 of file skeleton.c.

int le_extname [static]

Definition at line 17 of file skeleton.c.