Back to index

php5  5.3.10
Defines | Functions | Variables
php_skeleton.h File Reference

Go to the source code of this file.

Defines

#define phpext_extname_ptr   &extname_module_entry
#define PHP_EXTNAME_API
#define EXTNAME_G(v)   (extname_globals.v)

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

zend_module_entry extname_module_entry

Define Documentation

#define EXTNAME_G (   v)    (extname_globals.v)

Definition at line 53 of file php_skeleton.h.

#define PHP_EXTNAME_API

Definition at line 14 of file php_skeleton.h.

Definition at line 7 of file php_skeleton.h.


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

zend_module_entry extname_module_entry

Definition at line 32 of file skeleton.c.