Commits
Ryan Schmidt authored ec5c7f035ad
1 + | https://bugs.php.net/56932 |
2 + | --- pop3.c.orig 2005-07-25 16:47:03.000000000 -0500 |
3 + | +++ pop3.c 2012-05-16 20:53:32.000000000 -0500 |
4 + | |
5 + | |
6 + | intern = emalloc(sizeof(pop3_object)); |
7 + | intern->zo.ce = class_type; |
8 + | - intern->zo.in_get = 0; |
9 + | - intern->zo.in_set = 0; |
10 + | + intern->zo.guards = NULL; |
11 + | intern->zo.properties = NULL; |
12 + | intern->ptr = NULL; |
13 + | |
14 + | |
15 + | * |
16 + | * Every user visible function must have an entry in pop3_functions[]. |
17 + | */ |
18 + | -function_entry pop3_functions[] = { |
19 + | +zend_function_entry pop3_functions[] = { |
20 + | PHP_FE(pop3_open, NULL) |
21 + | PHP_FE(pop3_close, NULL) |
22 + | PHP_FE(pop3_get_message_count, NULL) |
23 + | |
24 + | |
25 + | /* {{{ pop3_class_functions |
26 + | */ |
27 + | -function_entry pop3_class_functions[] = { |
28 + | +zend_function_entry pop3_class_functions[] = { |
29 + | POP3_ME_MAPPING(pop3, pop3_open, NULL) |
30 + | POP3_ME_MAPPING(get_message_count, pop3_get_message_count, NULL) |
31 + | POP3_ME_MAPPING(get_account_size, pop3_get_account_size, NULL) |