version 1.179, 2008/11/18 19:48:23
|
version 1.180, 2008/11/25 19:27:25
|
|
|
| |
##============================================================================== | ##============================================================================== |
## | ## |
## PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL |
## PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY |
## | ## |
## Enable binary protocol between cimserver and out-of-process providers. | ## Enable binary protocol between cimserver and out-of-process providers. |
## By default this feature is enabled. | ## By default this feature is enabled. |
## | ## |
##============================================================================== | ##============================================================================== |
| |
ifndef PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL |
ifndef PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY |
PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL=true |
PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY=true |
endif | endif |
| |
ifeq ($(PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL),true) |
ifeq ($(PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY),true) |
DEFINES += -DPEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL |
DEFINES += -DPEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY |
else | else |
ifneq ($(PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL),false) |
ifneq ($(PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY),false) |
$(error "PEGASUS_ENABLE_INTERNAL_BINARY_PROTOCOL must be true or false") |
$(error "PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY must be true or false") |
endif | endif |
endif | endif |
| |
##============================================================================== | ##============================================================================== |
## | ## |
## PEGASUS_ENABLE_ENCAPSULATED_XML |
## PEGASUS_ENABLE_PROTOCOL_BINARY |
## | ## |
## Enable encapsulated XML within binary protocol messages. This improves |
## Enables the binary protocol between clients and cimserver. With provider |
## performance by allowing provider to format XML which the server can |
## agent, both requests and responses are binary. For "ordinary" clients, |
## pass through to client without converting to CIMInstances. |
## requests are XML and responses are binary. By default, this only affects |
|
## the protocol used over local domain sockets. |
## | ## |
##============================================================================== | ##============================================================================== |
| |
ifndef PEGASUS_ENABLE_ENCAPSULATED_XML |
ifndef PEGASUS_ENABLE_PROTOCOL_BINARY |
PEGASUS_ENABLE_ENCAPSULATED_XML=false |
PEGASUS_ENABLE_PROTOCOL_BINARY=false |
endif | endif |
| |
ifeq ($(PEGASUS_ENABLE_ENCAPSULATED_XML),true) |
ifeq ($(PEGASUS_ENABLE_PROTOCOL_BINARY),true) |
DEFINES += -DPEGASUS_ENABLE_ENCAPSULATED_XML |
DEFINES += -DPEGASUS_ENABLE_PROTOCOL_BINARY |
else | else |
ifneq ($(PEGASUS_ENABLE_ENCAPSULATED_XML),false) |
ifneq ($(PEGASUS_ENABLE_PROTOCOL_BINARY),false) |
$(error "PEGASUS_ENABLE_ENCAPSULATED_XML must be true or false") |
$(error "PEGASUS_ENABLE_PROTOCOL_BINARY must be true or false") |
endif | endif |
endif | endif |
| |