Commit 85709111 authored by jehan's avatar jehan

first working sub/not/pub/not

parent 02d4b737
This diff is collapsed.
//
// main.cpp
// dummy
//
// Created by jeh on 24/09/2014.
// Copyright (c) 2014 Belledonne Communications. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXContainerItemProxy section */
225C6CF619D2FBD7009ED695 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 225C6CF219D2FBD6009ED695 /* dummy.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 225C6CE819D2FBD6009ED695;
remoteInfo = dummy;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
225C6BC319D2F883009ED695 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
225C6BC519D2F883009ED695 /* dummy */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dummy; sourceTree = BUILT_PRODUCTS_DIR; };
225C6CF219D2FBD6009ED695 /* dummy.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = dummy.xcodeproj; path = dummy/dummy.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
225C6BC219D2F883009ED695 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
225C6BB619D2F80E009ED695 = {
isa = PBXGroup;
children = (
225C6CF219D2FBD6009ED695 /* dummy.xcodeproj */,
225C6BC619D2F883009ED695 /* Products */,
);
sourceTree = "<group>";
};
225C6BC619D2F883009ED695 /* Products */ = {
isa = PBXGroup;
children = (
225C6BC519D2F883009ED695 /* dummy */,
);
name = Products;
sourceTree = "<group>";
};
225C6CF319D2FBD6009ED695 /* Products */ = {
isa = PBXGroup;
children = (
225C6CF719D2FBD7009ED695 /* dummy */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
225C6BBB19D2F80E009ED695 /* flex */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "$(ACTION) PATH=/opt/local/bin:$PATH";
buildConfigurationList = 225C6BBE19D2F80E009ED695 /* Build configuration list for PBXLegacyTarget "flex" */;
buildPhases = (
);
buildToolPath = /usr/bin/make;
buildWorkingDirectory = "/Volumes/Macintosh_HD/Users/jehanmonnier/workspaces/workspace-flexisip/flexisip/build";
dependencies = (
);
name = flex;
passBuildSettingsInEnvironment = 1;
productName = flex;
};
/* End PBXLegacyTarget section */
/* Begin PBXNativeTarget section */
225C6BC419D2F883009ED695 /* dummy */ = {
isa = PBXNativeTarget;
buildConfigurationList = 225C6BCA19D2F883009ED695 /* Build configuration list for PBXNativeTarget "dummy" */;
buildPhases = (
225C6BC119D2F883009ED695 /* Sources */,
225C6BC219D2F883009ED695 /* Frameworks */,
225C6BC319D2F883009ED695 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = dummy;
productName = dummy;
productReference = 225C6BC519D2F883009ED695 /* dummy */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
225C6BB719D2F80E009ED695 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0600;
ORGANIZATIONNAME = "Belledonne Communications";
TargetAttributes = {
225C6BBB19D2F80E009ED695 = {
CreatedOnToolsVersion = 6.0.1;
};
225C6BC419D2F883009ED695 = {
CreatedOnToolsVersion = 6.0.1;
};
};
};
buildConfigurationList = 225C6BBA19D2F80E009ED695 /* Build configuration list for PBXProject "flex" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 225C6BB619D2F80E009ED695;
productRefGroup = 225C6BC619D2F883009ED695 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 225C6CF319D2FBD6009ED695 /* Products */;
ProjectRef = 225C6CF219D2FBD6009ED695 /* dummy.xcodeproj */;
},
);
projectRoot = "";
targets = (
225C6BBB19D2F80E009ED695 /* flex */,
225C6BC419D2F883009ED695 /* dummy */,
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
225C6CF719D2FBD7009ED695 /* dummy */ = {
isa = PBXReferenceProxy;
fileType = "compiled.mach-o.executable";
path = dummy;
remoteRef = 225C6CF619D2FBD7009ED695 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXSourcesBuildPhase section */
225C6BC119D2F883009ED695 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
225C6BBC19D2F80E009ED695 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
225C6BBD19D2F80E009ED695 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
225C6BBF19D2F80E009ED695 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEBUGGING_SYMBOLS = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
225C6BC019D2F80E009ED695 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
225C6BCB19D2F883009ED695 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
225C6BCC19D2F883009ED695 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
225C6BBA19D2F80E009ED695 /* Build configuration list for PBXProject "flex" */ = {
isa = XCConfigurationList;
buildConfigurations = (
225C6BBC19D2F80E009ED695 /* Debug */,
225C6BBD19D2F80E009ED695 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
225C6BBE19D2F80E009ED695 /* Build configuration list for PBXLegacyTarget "flex" */ = {
isa = XCConfigurationList;
buildConfigurations = (
225C6BBF19D2F80E009ED695 /* Debug */,
225C6BC019D2F80E009ED695 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
225C6BCA19D2F883009ED695 /* Build configuration list for PBXNativeTarget "dummy" */ = {
isa = XCConfigurationList;
buildConfigurations = (
225C6BCB19D2F883009ED695 /* Debug */,
225C6BCC19D2F883009ED695 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 225C6BB719D2F80E009ED695 /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:flex.xcodeproj">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "225C6BBB19D2F80E009ED695"
BuildableName = "flex"
BlueprintName = "flex"
ReferencedContainer = "container:flex.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "225C6BBB19D2F80E009ED695"
BuildableName = "flex"
BlueprintName = "flex"
ReferencedContainer = "container:flex.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "225C6BBB19D2F80E009ED695"
BuildableName = "flex"
BlueprintName = "flex"
ReferencedContainer = "container:flex.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>dummy.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>flex.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>225C6BBB19D2F80E009ED695</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>225C6BC419D2F883009ED695</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
......@@ -434,7 +434,7 @@ template <typename _retType>
_retType *GenericStruct::get(const char *name)const{
GenericEntry *e=find(name);
if (e==NULL) {
SLOGA << "No ConfigEntry with name" << name <<" in struct " << getName() ;
SLOGA << "No ConfigEntry with name [" << name <<"] in struct [" << getName() <<"]" ;
}
_retType *ret=dynamic_cast<_retType *>(e);
if (ret==NULL){
......
......@@ -19,6 +19,9 @@
#ifdef HAVE_CONFIG_H
#include "flexisip-config.h"
#endif
#ifndef CONFIG_DIR
#define CONFIG_DIR "."
#endif
#include "dos-protection.hh"
#include "configmanager.hh"
#include <unistd.h>
......
......@@ -172,13 +172,13 @@ void RequestSipEvent::send(const shared_ptr<MsgSip> &msg, url_string_t const *u,
void RequestSipEvent::reply(int status, char const *phrase, tag_type_t tag, tag_value_t value, ...) {
if (mIncomingAgent != NULL) {
LOGD("Replying Request SIP message: %i %s\n\n", status, phrase);
SLOGD << "Replying Request SIP message: " <<status << " " << phrase<<std::endl;
ta_list ta;
ta_start(ta, tag, value);
mIncomingAgent->reply(getMsgSip(), status, phrase, ta_tags(ta));
ta_end(ta);
} else {
LOGD("The Request SIP message is not reply");
SLOGD << "The Request SIP message is not reply";
}
if (status>=200) terminateProcessing();
}
......
......@@ -5,7 +5,7 @@
* Author: jehanmonnier
*/
#include <flexisip-exception.hh>
#include "flexisip-exception.hh"
#include <execinfo.h>
#include <unistd.h>
......
......@@ -18,7 +18,9 @@
#ifdef HAVE_CONFIG_H
#include "flexisip-config.h"
#endif
#ifndef CONFIG_DIR
#define CONFIG_DIR
#endif
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
......@@ -563,6 +565,8 @@ int main(int argc, char *argv[]){
if (oset.find("notrans") == oset.end()) {
ms_init();
}
#elif !defined(ENABLE_BOOST_LOG)
ortp_init();
#endif
if (!configOverride.empty()) cfg.applyOverrides(true); // using default + overrides
......
UPDATE_OID=flexisipMIB
UPDATE_CONF=/Users/jehanmonnier/workspaces/workspace-flexisip/flexisip/src/mib/mib2c.flexisip.conf
UPDATE_MIB2C_OPTS=
#UPDATE_NOPROBE=1
This diff is collapsed.
/*
* Note: this file originally auto-generated by mib2c using
* mib2c.flexisip.conf
*/
#ifndef FLEXISIPMIB_H
#define FLEXISIPMIB_H
class ConfigManager;
class Agent;
/* function declarations */
void init_flexisipMIB(Agent& agent,ConfigManager& cm);
Netsnmp_Node_Handler handle_autoRespawn;
Netsnmp_Node_Handler handle_aliases;
Netsnmp_Node_Handler handle_ipAddress;
Netsnmp_Node_Handler handle_bindAddress;
Netsnmp_Node_Handler handle_port;
Netsnmp_Node_Handler handle_transportUris;
Netsnmp_Node_Handler handle_totalNumberOfAddedRecords;
Netsnmp_Node_Handler handle_totalNumberOfExpiredRecords;
#endif /* FLEXISIPMIB_H */
This diff is collapsed.
/*
* Note: this file originally auto-generated by mib2c using
* mib2c.flexisip.conf
*/
#ifndef FLEXISIPMIB_H
#define FLEXISIPMIB_H
class ConfigManager;
class Agent;
/* function declarations */
void init_flexisipMIB(Agent& agent,ConfigManager& cm);
Netsnmp_Node_Handler handle_autoRespawn;
Netsnmp_Node_Handler handle_aliases;
Netsnmp_Node_Handler handle_ipAddress;
Netsnmp_Node_Handler handle_bindAddress;
Netsnmp_Node_Handler handle_port;
Netsnmp_Node_Handler handle_transportUris;
Netsnmp_Node_Handler handle_totalNumberOfAddedRecords;
Netsnmp_Node_Handler handle_totalNumberOfExpiredRecords;
#endif /* FLEXISIPMIB_H */
This diff is collapsed.
......@@ -805,24 +805,24 @@ void Authentication::flexisip_auth_method_digest(auth_mod_t *am,
}
if (au) {
LOGD("Searching for auth digest response for this proxy");
SLOGD << "Searching for auth digest response for this proxy";
msg_auth_t *matched_au=ModuleToolbox::findAuthorizationForRealm(as->as_home, au, as->as_realm);
if (matched_au) au=matched_au;
auth_digest_response_get(as->as_home, &listener->mAr, au->au_params);
LOGD("Using auth digest response for realm %s", listener->mAr.ar_realm);
SLOGD << "Using auth digest response for realm " << listener->mAr.ar_realm;
as->as_match = (msg_header_t *)au;
flexisip_auth_check_digest(am, as, &listener->mAr, ach);
}
else {
/* There was no realm or credentials, send challenge */
LOGD("%s: no credentials matched realm or no realm", __func__);
SLOGD << __func__<< ": no credentials matched realm or no realm" ;
auth_challenge_digest(am, as, ach);
listener->getModule()->mNonceStore.insert(as->as_response);
// Retrieve the password in the hope it will be in cache when the remote UAC
// sends back its request; this time with the expected authentication credentials.
if (listener->mImmediateRetrievePass) {
LOGD("Searching for %s password to have it when the authenticated request comes", as->as_user_uri->url_user);
SLOGD <<"Searching for "<< as->as_user_uri->url_user<< " password to have it when the authenticated request comes" ;
string foundPassword;
AuthDb::get()->password(listener->getRoot(), as->as_user_uri, as->as_user_uri->url_user, foundPassword, shared_ptr<AuthDbListener>());
}
......
......@@ -73,7 +73,9 @@ private:
}
bool isMessageAPresenceMessage(shared_ptr<RequestSipEvent> &ev) {
sip_t* sip=ev->getSip();
if (strncasecmp(sip->sip_request->rq_method_name,"PUBLISH",strlen(sip->sip_request->rq_method_name)) == 0) {
if (strncasecmp(sip->sip_request->rq_method_name,"SUBSCRIBE",strlen(sip->sip_request->rq_method_name)) == 0) {
return true;
} else if (strncasecmp(sip->sip_request->rq_method_name,"PUBLISH",strlen(sip->sip_request->rq_method_name)) == 0) {
return (sip->sip_content_type
&& sip->sip_content_type->c_type && strcasecmp (sip->sip_content_type->c_type,"application/pidf+xml")==0
&& sip->sip_content_type->c_subtype && strcasecmp (sip->sip_content_type->c_subtype,"pidf+xml")==0);
......
......@@ -168,15 +168,15 @@ void Module::processRequest(shared_ptr<RequestSipEvent> &ev) {
LOG_SCOPED_THREAD("Module", getModuleName());
try {
if(mFilter->canEnter(ms)) {
LOGD("Invoking onRequest() on module %s", getModuleName().c_str());
SLOGD << "Invoking onRequest() on module "<< getModuleName();
onRequest(ev);
} else {
LOGD("Skipping onRequest() on module %s", getModuleName().c_str());
SLOGD <<"Skipping onRequest() on module "<< getModuleName();
}
} catch (FlexisipException &fe) {
SLOGD << "Skipping onRequest() on module " << getModuleName() << " because " << fe;
} catch (...) {
LOGD("Skipping onRequest() on module %s (error)", getModuleName().c_str());
SLOGD << "Skipping onRequest() on module (error)" << getModuleName();
}
}
......
......@@ -14,7 +14,8 @@ libflexisip_presence_la_SOURCES = presence-server.cc \
application_pidf+xml/pidf+xml.cxx \
xml/xml-pimpl.cxx \
xml/xml-pskel.cxx \
xml/xml.cxx
xml/xml.cxx \
subscription.cc
libflexisip_presence_la_LIBADD= $(XSDE_LIBS) $(BELLESIP_LIBS)
......
#To generate resource list file, use the following commands:
xsde cxx-hybrid --generate-parser --generate-aggregate --generate-polymorphic --generate-clone --generate-detach --location-map http://www.w3.org/2001/xml.xsd=../xml/xml.xsd pidf+xml.xsd
xsde cxx-hybrid --generate-parser --generate-serializer --generate-aggregate --generate-polymorphic --generate-clone --generate-detach --location-map http://www.w3.org/2001/xml.xsd=../xml/xml.xsd pidf+xml.xsd
// Copyright (c) 2005-2011 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD/e, an XML Schema
// to C++ data binding compiler for embedded systems.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
//
// Begin prologue.
//
//
// End prologue.
#include "pidf+xml-simpl.hxx"
#include <xsde/cxx/serializer/validating/string-common.hxx>
namespace pidf
{
// note_simpl
//
note_simpl::