summaryrefslogtreecommitdiff
path: root/main/streams/php_stream_transport.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-09-12 23:10:56 +0200
committerAnatol Belski <ab@php.net>2014-09-12 23:10:56 +0200
commitbea0face486cf8908eca45ced779d0bfa0b86a75 (patch)
treeb93d836b31c18b5bd47b2fe6b3c23e5185b6d819 /main/streams/php_stream_transport.h
parent67beaebaa88597495b515d570199824abc65e145 (diff)
downloadphp-git-bea0face486cf8908eca45ced779d0bfa0b86a75.tar.gz
reduce the struct size by 8 bytes on 64 bit
Diffstat (limited to 'main/streams/php_stream_transport.h')
-rw-r--r--main/streams/php_stream_transport.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h
index 8e02f46ca1..50beb89551 100644
--- a/main/streams/php_stream_transport.h
+++ b/main/streams/php_stream_transport.h
@@ -191,18 +191,18 @@ PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRML
END_EXTERN_C()
typedef struct _php_stream_xport_crypto_param {
- enum {
- STREAM_XPORT_CRYPTO_OP_SETUP,
- STREAM_XPORT_CRYPTO_OP_ENABLE
- } op;
struct {
+ php_stream *session;
int activate;
php_stream_xport_crypt_method_t method;
- php_stream *session;
} inputs;
struct {
int returncode;
} outputs;
+ enum {
+ STREAM_XPORT_CRYPTO_OP_SETUP,
+ STREAM_XPORT_CRYPTO_OP_ENABLE
+ } op;
} php_stream_xport_crypto_param;
BEGIN_EXTERN_C()