Changeset 1189:9e227c53a1a5


Ignore:
Timestamp:
03/23/09 08:45:20 (3 years ago)
Author:
niam
Branch:
default
Message:

naming of the types

Location:
trunk
Files:
35 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/include/libdodo/cgiFastExchange.h

    r1188 r1189  
    4343                namespace fast 
    4444                { 
    45                         struct __requestHandle; 
     45                        struct __request; 
    4646 
    4747                        /** 
     
    6666                                 * @param protection defines type of IO protection[see channelProtectionTypeEnum] 
    6767                                 */ 
    68                                 exchange(const __requestHandle &req, 
     68                                exchange(const __request &req, 
    6969                                                 short                   protection = io::CHANNEL_PROTECTION_PROCESS); 
    7070 
     
    126126                          private: 
    127127 
    128                                 __requestHandle *request; ///< fast CGI descriptor 
     128                                __request *request; ///< fast CGI descriptor 
    129129                        }; 
    130130                }; 
  • trunk/include/libdodo/dataBaseMysql.h

    r1188 r1189  
    4343                namespace base 
    4444                { 
    45                         struct __mysqlHandle; 
     45                        struct __mysql; 
    4646 
    4747                        /** 
     
    182182                                bool empty;             ///< true id mysqlRes is empty 
    183183 
    184                                 __mysqlHandle *handle; ///< DB handle 
     184                                __mysql *handle; ///< DB handle 
    185185 
    186186                                unsigned long type;     ///< connection type 
  • trunk/include/libdodo/dataBasePostgresql.h

    r1188 r1189  
    4343                namespace base 
    4444                { 
    45                         struct __postgresqlHandle; 
     45                        struct __postgresql; 
    4646 
    4747                        /** 
     
    234234                                bool empty;                                                                 ///< true id pgResult is empty 
    235235 
    236                                 __postgresqlHandle *handle; ///< DB handle 
     236                                __postgresql *handle; ///< DB handle 
    237237                        }; 
    238238                }; 
  • trunk/include/libdodo/dataBaseSqlite.h

    r1188 r1189  
    4343                namespace base 
    4444                { 
    45                         struct __sqliteHandle; 
     45                        struct __sqlite; 
    4646 
    4747                        /** 
     
    163163                          private: 
    164164 
    165                                 __sqliteHandle *handle; ///< DB handle 
     165                                __sqlite *handle; ///< DB handle 
    166166 
    167167                                bool empty;                     ///< true if liteStmt is empty 
  • trunk/include/libdodo/dataFormatXmlNode.h

    r1188 r1189  
    5656 
    5757                                /** 
    58                                  * @struct __nodeHandleNamespace 
     58                                 * @struct __nodeNamespace 
    5959                                 * @brief defines node namespace 
    6060                                 */ 
    61                                 struct __nodeHandleNamespace 
     61                                struct __nodeNamespace 
    6262                                { 
    6363                                        dodoString prefix;  ///< prefix for the namespace 
     
    145145                                        dodoString name;                                                        ///< name of the node [[tag]] 
    146146 
    147                                         __nodeHandleNamespace ns;                                                     ///< namespace of the node 
    148                                         __nodeHandleNamespace nsDef;                                                  ///< namespace definition of the node 
     147                                        __nodeNamespace ns;                                                     ///< namespace of the node 
     148                                        __nodeNamespace nsDef;                                                  ///< namespace definition of the node 
    149149 
    150150                                  protected: 
  • trunk/include/libdodo/dataFormatXmlProcessor.h

    r1188 r1189  
    4545                                class node; 
    4646 
    47                                 struct __nodeHandle; 
    48  
    49                                 struct __docHandle; 
     47                                struct __node; 
     48 
     49                                struct __doc; 
    5050 
    5151                                /** 
    52                                  * @struct __nodeHandleDef 
     52                                 * @struct __nodeDef 
    5353                                 * @brief defines processor tree definition 
    5454                                 */ 
    55                                 struct __nodeHandleDef 
     55                                struct __nodeDef 
    5656                                { 
    5757                                        /** 
    5858                                         * constructor 
    5959                                         */ 
    60                                         __nodeHandleDef(); 
     60                                        __nodeDef(); 
    6161 
    6262                                        /** 
     
    6464                                         * @param ns defines namespace of the node 
    6565                                         */ 
    66                                         __nodeHandleDef(const dodoString &name, 
     66                                        __nodeDef(const dodoString &name, 
    6767                                                          const            dodoString &ns = __dodostring__); 
    6868 
    6969                                        dodoString                     name;            ///< name of the node [[tag]]; if empty - for first - gets root, for children - all[but if children do not have in definition own children] 
    7070 
    71                                         dodoMap<dodoString, __nodeHandleDef> children;        ///< children definitions 
     71                                        dodoMap<dodoString, __nodeDef> children;        ///< children definitions 
    7272                                        bool                           allChildren;     ///< if true - get all children tree[true by default] 
    7373 
     
    132132 
    133133                                        /** 
    134                                          * parse XML file using __nodeHandleDef XML definition 
     134                                         * parse XML file using __nodeDef XML definition 
    135135                                         * @return parsed XML in node structure 
    136136                                         * @param definition defines structure of XML 
    137137                                         * @param file defines path to XML file 
    138138                                         */ 
    139                                         virtual node processFile(const __nodeHandleDef  &definition, 
     139                                        virtual node processFile(const __nodeDef  &definition, 
    140140                                                                                         const dodoString &file); 
    141141 
    142142                                        /** 
    143                                          * parse XML buffer using __nodeHandleDef XML definition 
     143                                         * parse XML buffer using __nodeDef XML definition 
    144144                                         * @return parsed XML in node structure 
    145145                                         * @param definition defines structure of XML 
    146146                                         * @param buffer defines XML buffer 
    147147                                         */ 
    148                                         virtual node processString(const __nodeHandleDef  &definition, 
     148                                        virtual node processString(const __nodeDef  &definition, 
    149149                                                                                           const dodoString &buffer); 
    150150 
     
    187187                                         * @param xnode defines node definition to clean 
    188188                                         */ 
    189                                         static void initNodeDef(__nodeHandleDef &xnode); 
     189                                        static void initNodeDef(__nodeDef &xnode); 
    190190 
    191191                                        /** 
     
    213213 
    214214                                        /** 
    215                                          * parse XML using __nodeHandleDef XML definition 
    216                                          * @return parsed XML in node structure 
    217                                          * @param definition defines structure of XML 
    218                                          */ 
    219                                         virtual node parse(const __nodeHandleDef &definition); 
     215                                         * parse XML using __nodeDef XML definition 
     216                                         * @return parsed XML in node structure 
     217                                         * @param definition defines structure of XML 
     218                                         */ 
     219                                        virtual node parse(const __nodeDef &definition); 
    220220 
    221221#ifdef LIBXML2_EXT 
     
    224224                                         * @param xnode defines XML tree node 
    225225                                         */ 
    226                                         bool isCDATA(const __nodeHandle &xnode); 
     226                                        bool isCDATA(const __node &xnode); 
    227227 
    228228                                        /** 
     
    231231                                         * @param xnode defines XML tree node 
    232232                                         */ 
    233                                         virtual dodoArray<node> parse(__nodeHandle xnode); 
    234  
    235                                         /** 
    236                                          * parses XML using __nodeHandleDef XML definition 
     233                                        virtual dodoArray<node> parse(__node xnode); 
     234 
     235                                        /** 
     236                                         * parses XML using __nodeDef XML definition 
    237237                                         * @return parsed XML nodes in node structures 
    238238                                         * @param definition defines structure of XML 
    239239                                         * @param chNode defines XML tree node 
    240240                                         */ 
    241                                         virtual dodoArray<node> parse(const __nodeHandleDef &definition, 
    242                                                                                                   const __nodeHandle      &xnode); 
     241                                        virtual dodoArray<node> parse(const __nodeDef &definition, 
     242                                                                                                  const __node    &xnode); 
    243243 
    244244                                        /** 
     
    247247                                         * @param attributes defines buffer for attributes 
    248248                                         */ 
    249                                         virtual void getAttributes(const __nodeHandle           &xnode, 
     249                                        virtual void getAttributes(const __node         &xnode, 
    250250                                                                                           dodoStringMap    &attributes); 
    251251 
     
    256256                                         * @param attributes defines buffer for attributes 
    257257                                         */ 
    258                                         virtual void getAttributes(const __nodeHandleDef  &definition, 
    259                                                                                            const __nodeHandle           &xnode, 
     258                                        virtual void getAttributes(const __nodeDef  &definition, 
     259                                                                                           const __node         &xnode, 
    260260                                                                                           dodoStringMap    &attributes); 
    261261 
     
    265265                                         * @param sample defines buffer for node 
    266266                                         */ 
    267                                         virtual void getNodeInfo(const __nodeHandle &xnode, 
     267                                        virtual void getNodeInfo(const __node &xnode, 
    268268                                                                                         node             &sample); 
    269269#endif 
     
    286286                                         * @param node defines node content 
    287287                                         */ 
    288                                         __nodeHandle findNode(const __nodeHandleDef &definition, 
    289                                                                         const __nodeHandle      &node); 
    290  
    291                                         __docHandle *document; ///< XML Document 
     288                                        __node findNode(const __nodeDef &definition, 
     289                                                                        const __node    &node); 
     290 
     291                                        __doc *document; ///< XML Document 
    292292#endif 
    293293 
  • trunk/include/libdodo/dataMemoryShared.h

    r1188 r1189  
    3939                namespace memory 
    4040                { 
    41                         struct __keyHandle; 
     41                        struct __key; 
    4242 
    4343                        /** 
     
    131131#endif 
    132132 
    133                                 __keyHandle *key; ///< key for the shared data 
     133                                __key *key; ///< key for the shared data 
    134134 
    135135                                bool autogenerated; ///< true if key was autogenerated 
  • trunk/include/libdodo/graphicsImage.h

    r1188 r1189  
    4242        namespace graphics 
    4343        { 
    44                 struct __imageHandle; 
     44                struct __image; 
    4545 
    4646                /** 
     
    8585                        ~__xexecImageCollectedData(); 
    8686 
    87                         __imageHandle *handle; ///< ImageMagic handle 
     87                        __image *handle; ///< ImageMagic handle 
    8888                }; 
    8989 
  • trunk/include/libdodo/ioNetworkSslClient.h

    r1185 r1189  
    4848                namespace ssl 
    4949                { 
    50                         struct __sslHandle; 
     50                        struct __sslConnection; 
    5151                        struct __sslContext; 
    5252                        struct __certificates; 
     
    144144                                        virtual void connectSsl(); 
    145145 
    146                                         io::ssl::__sslHandle *handle; ///< ssl connection handle 
     146                                        io::ssl::__sslConnection *handle; ///< ssl connection handle 
    147147                                        io::ssl::__sslContext *ctx; ///< ssl connection context 
    148148 
  • trunk/include/libdodo/ioNetworkSslExchange.h

    r1185 r1189  
    4747                        namespace ssl 
    4848                        { 
    49                                 struct __sslHandle; 
     49                                struct __sslConnection; 
    5050 
    5151                                /** 
     
    8181                                        int socket;             ///< socket 
    8282 
    83                                         io::ssl::__sslHandle *handle;         ///< SSL connection handle 
     83                                        io::ssl::__sslConnection *handle;         ///< SSL connection handle 
    8484 
    8585                                        bool blocked;           ///< true if blocked 
     
    144144                                  protected: 
    145145 
    146                                         io::ssl::__sslHandle *handle; ///< SSL connection handle 
     146                                        io::ssl::__sslConnection *handle; ///< SSL connection handle 
    147147 
    148148                                        /** 
    149149                                         * close socket connection 
    150150                                         * @param socket defines socket descriptor 
    151                                          * @param sslHandle defines SSL handle 
     151                                         * @param ssl defines SSL handle 
    152152                                         */ 
    153153                                        virtual void _close(int socket, 
    154                                                                                 io::ssl::__sslHandle *handle); 
     154                                                                                io::ssl::__sslConnection *handle); 
    155155 
    156156                                        /** 
     
    162162                                         */ 
    163163                                        virtual void init(int  socket, 
    164                                                                           io::ssl::__sslHandle  *handle, 
     164                                                                          io::ssl::__sslConnection  *handle, 
    165165                                                                          bool blocked, 
    166166                                                                          bool blockInherited); 
  • trunk/include/libdodo/ioPipe.h

    r1183 r1189  
    160160                        virtual void _writeStream(const char * const data); 
    161161 
    162                         void *inHandle;     ///< input stream descriptor 
    163                         void *outHandle;    ///< output stream descriptor 
     162                        void *in;     ///< input stream descriptor 
     163                        void *out;    ///< output stream descriptor 
    164164 
    165165                  private: 
  • trunk/include/libdodo/ioSsl.h

    r1188 r1189  
    4242                namespace ssl 
    4343                { 
    44                         struct __sslHandle; 
     44                        struct __sslConnection; 
    4545 
    4646                        struct __sslContext; 
  • trunk/include/libdodo/pcSyncProcessDataSingle.h

    r1188 r1189  
    4343                        namespace process 
    4444                        { 
    45                                 struct __semaphoreHandle; 
     45                                struct __lock; 
    4646 
    4747                                namespace data 
     
    133133                                                void *data;             ///< shared data 
    134134 
    135                                                 __semaphoreHandle *semaphore; 
     135                                                __lock *semaphore; 
    136136 
    137137                                                bool autogenerated;     ///< true if key was autogenerated 
  • trunk/include/libdodo/pcSyncProcessSection.h

    r1188 r1189  
    4343                        namespace process 
    4444                        { 
    45                                 struct __semaphoreHandle; 
     45                                struct __lock; 
    4646 
    4747                                /** 
     
    114114                                  protected: 
    115115 
    116                                         __semaphoreHandle *semaphore; 
     116                                        __lock *semaphore; 
    117117 
    118118                                        bool autogenerated;     ///< true if key was autogenerated 
  • trunk/src/cgiFastExchange.cc

    r1188 r1189  
    4545exchange::exchange(exchange &cf) : dodo::cgi::exchange(cf.protection), 
    4646                                                                   channel(cf.protection), 
    47                                                                    request(new __requestHandle) 
     47                                                                   request(new __request) 
    4848{ 
    4949} 
     
    5151//------------------------------------------------------------------- 
    5252 
    53 exchange::exchange(const __requestHandle &req, 
     53exchange::exchange(const __request &req, 
    5454                                   short                   protection) : dodo::cgi::exchange(protection), 
    5555                                                                                                 channel(protection) 
  • trunk/src/cgiFastRequest.inline

    r1188 r1189  
    4040                { 
    4141                        /** 
    42                          * @struct __requestHandle 
     42                         * @struct __request 
    4343                         * @brief defines fast CGI request interface 
    4444                         */ 
    45                         struct __requestHandle 
     45                        struct __request 
    4646                        { 
    4747                                FCGX_Request *request; ///< fast-CGI request handler 
  • trunk/src/cgiFastServer.cc

    r1188 r1189  
    9292{ 
    9393        FCGX_Request req; 
    94         __requestHandle request = {&req}; 
     94        __request request = {&req}; 
    9595        FCGX_InitRequest(request.request, 0, 0); 
    9696 
     
    168168 
    169169                FCGX_Request req; 
    170                 __requestHandle request = {&req}; 
     170                __request request = {&req}; 
    171171                FCGX_InitRequest(request.request, 0, 0); 
    172172 
  • trunk/src/dataBaseMysql.cc

    r1188 r1189  
    4444                { 
    4545                        /** 
    46                          * @struct __mysqlHandle 
     46                         * @struct __mysql 
    4747                         * @brief defines internal handlers for MySQL DBMS interaction 
    4848                         */ 
    49                         struct __mysqlHandle 
     49                        struct __mysql 
    5050                        { 
    5151                                MYSQL     *handle; ///< DB handle 
     
    6060mysql::mysql() : empty(true), 
    6161                                 type(CLIENT_MULTI_STATEMENTS), 
    62                                  handle(new __mysqlHandle) 
     62                                 handle(new __mysql) 
    6363 
    6464{ 
     
    7474mysql::mysql(const __connectionInfo &info) : empty(true), 
    7575                                                                                         type(CLIENT_MULTI_STATEMENTS), 
    76                                                                                          handle(new __mysqlHandle) 
     76                                                                                         handle(new __mysql) 
    7777 
    7878{ 
  • trunk/src/dataBasePostgresql.cc

    r1188 r1189  
    4747                { 
    4848                        /** 
    49                          * @struct __postgresqlHandle 
     49                         * @struct __postgresql 
    5050                         * @brief defines internal handlers for MySQL DBMS interaction 
    5151                         */ 
    52                         struct __postgresqlHandle 
     52                        struct __postgresql 
    5353                        { 
    5454                                PGconn *handle; ///< DB handle 
     
    109109 
    110110postgresql::postgresql() : empty(true), 
    111                                                    handle(new __postgresqlHandle) 
     111                                                   handle(new __postgresql) 
    112112{ 
    113113        handle->handle = NULL; 
     
    121121 
    122122postgresql::postgresql(const __connectionInfo &info) : empty(true), 
    123                                                                                                            handle(new __postgresqlHandle) 
     123                                                                                                           handle(new __postgresql) 
    124124{ 
    125125#ifndef DATABASE_WO_XEXEC 
  • trunk/src/dataBaseSqlite.cc

    r1188 r1189  
    4545                { 
    4646                        /** 
    47                          * @struct __mysqlHandle 
    48                          * @brief defines internal handlers for MySQL DBMS interaction 
     47                         * @struct __sqlite 
     48                         * @brief defines internal handlers for SQLite DBMS interaction 
    4949                         */ 
    50                         struct __sqliteHandle 
     50                        struct __sqlite 
    5151                        { 
    5252                                sqlite3 *handle; ///< DB handle 
     
    6060 
    6161sqlite::sqlite() : empty(true), 
    62                                    handle(new __sqliteHandle) 
     62                                   handle(new __sqlite) 
    6363{ 
    6464        handle->handle = NULL; 
     
    7272 
    7373sqlite::sqlite(const __connectionInfo &info) : empty(true), 
    74                                                                                            handle(new __sqliteHandle) 
     74                                                                                           handle(new __sqlite) 
    7575{ 
    7676        handle->handle = NULL; 
  • trunk/src/dataFormatXmlProcessor.cc

    r1188 r1189  
    4949                        { 
    5050                                /** 
    51                                  * @struct __nodeHandle 
     51                                 * @struct __node 
    5252                                 * @brief defines XML node properties 
    5353                                 */ 
    54                                 struct __nodeHandle 
     54                                struct __node 
    5555                                { 
    5656                                        /** 
    5757                                         * constructor 
    5858                                         */ 
    59                                         __nodeHandle(); 
     59                                        __node() 
     60                                        { 
     61                                        } 
    6062 
    6163                                        /** 
    6264                                         * constructor 
    6365                                         */ 
    64                                         __nodeHandle(xmlNodePtr node); 
     66                                        __node(xmlNodePtr node) : node(node) 
     67                                        { 
     68                                        } 
    6569 
    6670                                        xmlNodePtr node; ///< represents internal libxml2 node data 
     
    6872 
    6973                                /** 
    70                                  * @struct __docHandleument 
     74                                 * @struct __doc 
    7175                                 * @brief defines XML document properties 
    7276                                 */ 
    73                                 struct __docHandle 
     77                                struct __doc 
    7478                                { 
    7579                                        xmlDocPtr document; ///< represents internal libxml2 document data 
     
    8387using namespace dodo::data::format::xml; 
    8488 
    85 #ifdef LIBXML2_EXT 
    86 __nodeHandle::__nodeHandle(xmlNodePtr node) : node(node) 
    87 { 
    88 } 
    89  
    90 //------------------------------------------------------------------- 
    91  
    92 __nodeHandle::__nodeHandle() 
    93 { 
    94 } 
    95 #endif 
    96  
    97 //------------------------------------------------------------------- 
    98  
    9989__info::__info(const dodoString &version, 
    10090                           const dodoString &encoding, 
     
    115105//------------------------------------------------------------------- 
    116106 
    117 __nodeHandleDef::__nodeHandleDef() : allChildren(true), 
     107__nodeDef::__nodeDef() : allChildren(true), 
    118108                                                 allAttributes(true) 
    119109{ 
     
    122112//------------------------------------------------------------------- 
    123113 
    124 __nodeHandleDef::__nodeHandleDef(const dodoString &name, 
     114__nodeDef::__nodeDef(const dodoString &name, 
    125115                                         const dodoString &ns) : allChildren(true), 
    126116                                                                                         allAttributes(true), 
     
    169159#ifdef LIBXML2_EXT 
    170160                                                 , 
    171                                                  document(new __docHandle) 
     161                                                 document(new __doc) 
    172162#endif 
    173163{ 
     
    195185#ifdef LIBXML2_EXT 
    196186bool 
    197 processor::isCDATA(const __nodeHandle &a_xnode) 
     187processor::isCDATA(const __node &a_xnode) 
    198188{ 
    199189        xmlNodePtr xnode = a_xnode.node->children; 
     
    215205 
    216206node 
    217 processor::processFile(const __nodeHandleDef  &definition, 
     207processor::processFile(const __nodeDef  &definition, 
    218208                                           const dodoString &file) 
    219209{ 
     
    243233 
    244234node 
    245 processor::processString(const __nodeHandleDef  &definition, 
     235processor::processString(const __nodeDef  &definition, 
    246236                                                 const dodoString &buffer) 
    247237{ 
     
    271261 
    272262node 
    273 processor::parse(const __nodeHandleDef &definition) 
    274 { 
    275 #ifdef LIBXML2_EXT 
    276         __nodeHandle xnode = xmlDocGetRootElement(document->document); 
     263processor::parse(const __nodeDef &definition) 
     264{ 
     265#ifdef LIBXML2_EXT 
     266        __node xnode = xmlDocGetRootElement(document->document); 
    277267        if (xnode.node == NULL) 
    278268        { 
     
    334324                        if (xnode.node->children != NULL) 
    335325                        { 
    336                                 children = parse(__nodeHandle(xnode.node->children)); 
     326                                children = parse(__node(xnode.node->children)); 
    337327                                i = children.begin(); 
    338328                                j = children.end(); 
     
    354344                if (definition.children.size() > 0) 
    355345                { 
    356                         dodoMap<dodoString, __nodeHandleDef>::const_iterator i(definition.children.begin()), j(definition.children.end()); 
     346                        dodoMap<dodoString, __nodeDef>::const_iterator i(definition.children.begin()), j(definition.children.end()); 
    357347                        for (; i != j; ++i) 
    358348                        { 
     
    372362#ifdef LIBXML2_EXT 
    373363dodoArray<node> 
    374 processor::parse(const __nodeHandleDef &definition, 
    375                                  const __nodeHandle      &a_xnode) 
     364processor::parse(const __nodeDef &definition, 
     365                                 const __node    &a_xnode) 
    376366{ 
    377367        xmlNodePtr xnode = a_xnode.node, subNode; 
     
    468458                        if (definition.children.size() > 0) 
    469459                        { 
    470                                 dodoMap<dodoString, __nodeHandleDef>::const_iterator i(definition.children.begin()), j(definition.children.end()); 
     460                                dodoMap<dodoString, __nodeDef>::const_iterator i(definition.children.begin()), j(definition.children.end()); 
    471461                                for (; i != j; ++i) 
    472462                                { 
     
    489479#ifdef LIBXML2_EXT 
    490480void 
    491 processor::getAttributes(const __nodeHandleDef  &definition, 
    492                                                  const __nodeHandle &xnode, 
     481processor::getAttributes(const __nodeDef  &definition, 
     482                                                 const __node &xnode, 
    493483                                                 dodoStringMap    &attributes) 
    494484{ 
     
    555545 
    556546void 
    557 processor::getAttributes(const __nodeHandle &xnode, 
     547processor::getAttributes(const __node &xnode, 
    558548                                                 dodoStringMap    &attributes) 
    559549{ 
     
    576566 
    577567void 
    578 processor::getNodeInfo(const __nodeHandle &xnode, 
     568processor::getNodeInfo(const __node &xnode, 
    579569                                           node                 &resNode) 
    580570{ 
     
    677667#ifdef LIBXML2_EXT 
    678668dodoArray<node> 
    679 processor::parse(__nodeHandle xnode) 
     669processor::parse(__node xnode) 
    680670{ 
    681671        dodoArray<node> sample; 
     
    703693                if (xnode.node->children != NULL) 
    704694                { 
    705                         children = parse(__nodeHandle(xnode.node->children)); 
     695                        children = parse(__node(xnode.node->children)); 
    706696                        i = children.begin(); 
    707697                        j = children.end(); 
     
    776766        } 
    777767 
    778         return *(parse(__nodeHandle(xnode)).begin()); 
     768        return *(parse(__node(xnode)).begin()); 
    779769#else 
    780770        return node(); 
     
    820810        } 
    821811 
    822         return *(parse(__nodeHandle(xnode)).begin()); 
     812        return *(parse(__node(xnode)).begin()); 
    823813#else 
    824814        return node(); 
     
    829819 
    830820void 
    831 processor::initNodeDef(__nodeHandleDef &xnode) 
     821processor::initNodeDef(__nodeDef &xnode) 
    832822{ 
    833823        xnode.attributes.clear(); 
     
    840830 
    841831#ifdef LIBXML2_EXT 
    842 __nodeHandle 
    843 processor::findNode(const __nodeHandleDef &definition, 
    844                                         const __nodeHandle      &a_xnode) 
     832__node 
     833processor::findNode(const __nodeDef &definition, 
     834                                        const __node    &a_xnode) 
    845835{ 
    846836        xmlNodePtr one, xnode = a_xnode.node; 
     
    880870                } 
    881871 
    882                 one = findNode(definition, __nodeHandle(xnode->children)).node; 
     872                one = findNode(definition, __node(xnode->children)).node; 
    883873 
    884874                if (one != NULL) 
     
    890880        } 
    891881 
    892         return __nodeHandle(NULL); 
     882        return __node(NULL); 
    893883} 
    894884#endif 
  • trunk/src/dataMemoryShared.cc

    r1188 r1189  
    5353                { 
    5454                        /** 
    55                          * @struct __keyHandle 
     55                         * @struct __key 
    5656                         * @brief defines shared memory key 
    5757                         */ 
    58                         struct __keyHandle 
     58                        struct __key 
    5959                        { 
    6060#ifdef XSI_IPC 
     
    7878shared::shared() : mshared(NULL), 
    7979                                   autogenerated(false), 
    80                                    key(new __keyHandle), 
     80                                   key(new __key), 
    8181#ifndef XSI_IPC 
    8282                                   size(0), 
     
    9090shared::shared(int a_key) : mshared(NULL), 
    9191                                                        autogenerated(false), 
    92                                                         key(new __keyHandle), 
     92                                                        key(new __key), 
    9393#ifndef XSI_IPC 
    9494                                                        size(0), 
  • trunk/src/graphicsDraw.cc

    r1181 r1189  
    9494                                unsigned short borderWidth) 
    9595{ 
    96         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     96        if (im == NULL || im->collectedData.handle->im == NULL) 
    9797        { 
    9898                throw exception::basic(exception::ERRMODULE_GRAPHICSDRAW, DRAWEX_PRIMITIVE, exception::ERRNO_IMAGEMAGICK, DRAWEX_EMPTYIMAGE, GRAPHICSDRAWEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    119119        di->fill.opacity = fillColor.opacity; 
    120120 
    121         if (DrawImage(im->collectedData.handle->imHandle, di) == MagickFalse) 
     121        if (DrawImage(im->collectedData.handle->im, di) == MagickFalse) 
    122122        { 
    123123                di->primitive = NULL; 
     
    196196                   double                angle) 
    197197{ 
    198         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     198        if (im == NULL || im->collectedData.handle->im == NULL) 
    199199        { 
    200200                throw exception::basic(exception::ERRMODULE_GRAPHICSDRAW, DRAWEX_TEXT, exception::ERRNO_IMAGEMAGICK, DRAWEX_EMPTYIMAGE, GRAPHICSDRAWEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    252252        di->fill.opacity = fillColor.opacity; 
    253253 
    254         if (DrawImage(im->collectedData.handle->imHandle, di) == MagickFalse) 
     254        if (DrawImage(im->collectedData.handle->im, di) == MagickFalse) 
    255255        { 
    256256                di->primitive = NULL; 
     
    273273                        double                angle) 
    274274{ 
    275         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     275        if (im == NULL || im->collectedData.handle->im == NULL) 
    276276        { 
    277277                throw exception::basic(exception::ERRMODULE_GRAPHICSDRAW, DRAWEX_IMAGE, exception::ERRNO_IMAGEMAGICK, DRAWEX_EMPTYIMAGE, GRAPHICSDRAWEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    305305        current.ty = _current.rx * affine.tx + _current.sy * affine.ty + _current.ty; 
    306306 
    307         if (DrawAffineImage(im->collectedData.handle->imHandle, a_im.collectedData.handle->imHandle, &current) == MagickFalse) 
     307        if (DrawAffineImage(im->collectedData.handle->im, a_im.collectedData.handle->im, &current) == MagickFalse) 
    308308        { 
    309309                throw exception::basic(exception::ERRMODULE_GRAPHICSDRAW, DRAWEX_IMAGE, exception::ERRNO_IMAGEMAGICK, DRAWEX_CANNOTDRAWPRIMITIVE, GRAPHICSDRAWEX_CANNOTDRAWPRIMITIVE_STR, __LINE__, __FILE__); 
     
    318318                        unsigned short        pointWidth) 
    319319{ 
    320         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     320        if (im == NULL || im->collectedData.handle->im == NULL) 
    321321        { 
    322322                throw exception::basic(exception::ERRMODULE_GRAPHICSDRAW, DRAWEX_POINT, exception::ERRNO_IMAGEMAGICK, DRAWEX_EMPTYIMAGE, GRAPHICSDRAWEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    347347        di->fill.opacity = pointColor.opacity; 
    348348 
    349         if (DrawImage(im->collectedData.handle->imHandle, di) == MagickFalse) 
     349        if (DrawImage(im->collectedData.handle->im, di) == MagickFalse) 
    350350        { 
    351351                di->primitive = NULL; 
  • trunk/src/graphicsImage.cc

    r1181 r1189  
    104104__xexecImageCollectedData::__xexecImageCollectedData(xexec *executor, 
    105105                                                                                                         short execObject) : __xexecCollectedData(executor, execObject), 
    106                                                                                                                                                  handle(new __imageHandle) 
     106                                                                                                                                                 handle(new __image) 
    107107{ 
    108108} 
    109109#else 
    110 __xexecImageCollectedData::__xexecImageCollectedData() : handle(new __imageHandle) 
     110__xexecImageCollectedData::__xexecImageCollectedData() : handle(new __image) 
    111111{ 
    112112} 
     
    242242#endif 
    243243{ 
    244         collectedData.handle->imHandle = NULL; 
     244        collectedData.handle->im = NULL; 
    245245 
    246246#ifndef IMAGEMAGICK_PRE_63 
     
    255255image::~image() 
    256256{ 
    257         if (collectedData.handle->imHandle != NULL) 
    258         { 
    259                 DestroyImage(collectedData.handle->imHandle); 
     257        if (collectedData.handle->im != NULL) 
     258        { 
     259                DestroyImage(collectedData.handle->im); 
    260260        } 
    261261 
     
    288288        strncpy(collectedData.handle->imInfo->filename, str.c_str(), size); 
    289289 
    290         if (collectedData.handle->imHandle != NULL) 
    291         { 
    292                 DestroyImage(collectedData.handle->imHandle); 
    293         } 
    294  
    295         collectedData.handle->imHandle = ReadImage(collectedData.handle->imInfo, (ExceptionInfo *)exInfo); 
    296         if (collectedData.handle->imHandle == NULL) 
     290        if (collectedData.handle->im != NULL) 
     291        { 
     292                DestroyImage(collectedData.handle->im); 
     293        } 
     294 
     295        collectedData.handle->im = ReadImage(collectedData.handle->imInfo, (ExceptionInfo *)exInfo); 
     296        if (collectedData.handle->im == NULL) 
    297297        { 
    298298                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_READ, exception::ERRNO_IMAGEMAGICK, ((ExceptionInfo *)exInfo)->error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
    299299        } 
    300300 
    301         collectedData.handle->imInfo->compression = collectedData.handle->imHandle->compression; 
    302         collectedData.handle->imInfo->quality = collectedData.handle->imHandle->quality; 
    303  
    304         strcpy(collectedData.handle->imInfo->magick, collectedData.handle->imHandle->magick); 
     301        collectedData.handle->imInfo->compression = collectedData.handle->im->compression; 
     302        collectedData.handle->imInfo->quality = collectedData.handle->im->quality; 
     303 
     304        strcpy(collectedData.handle->imInfo->magick, collectedData.handle->im->magick); 
    305305 
    306306#ifndef GRAPHICS_WO_XEXEC 
     
    322322        GetImageInfo(collectedData.handle->imInfo); 
    323323 
    324         if (collectedData.handle->imHandle != NULL) 
    325         { 
    326                 DestroyImage(collectedData.handle->imHandle); 
    327         } 
    328  
    329         collectedData.handle->imHandle = BlobToImage(collectedData.handle->imInfo, data.data(), data.size(), (ExceptionInfo *)exInfo); 
    330         if (collectedData.handle->imHandle == NULL) 
     324        if (collectedData.handle->im != NULL) 
     325        { 
     326                DestroyImage(collectedData.handle->im); 
     327        } 
     328 
     329        collectedData.handle->im = BlobToImage(collectedData.handle->imInfo, data.data(), data.size(), (ExceptionInfo *)exInfo); 
     330        if (collectedData.handle->im == NULL) 
    331331        { 
    332332                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_READ, exception::ERRNO_IMAGEMAGICK, ((ExceptionInfo *)exInfo)->error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
    333333        } 
    334334 
    335         collectedData.handle->imInfo->compression = collectedData.handle->imHandle->compression; 
    336         collectedData.handle->imInfo->quality = collectedData.handle->imHandle->quality; 
    337  
    338         strcpy(collectedData.handle->imInfo->magick, collectedData.handle->imHandle->magick); 
     335        collectedData.handle->imInfo->compression = collectedData.handle->im->compression; 
     336        collectedData.handle->imInfo->quality = collectedData.handle->im->quality; 
     337 
     338        strcpy(collectedData.handle->imInfo->magick, collectedData.handle->im->magick); 
    339339 
    340340#ifndef GRAPHICS_WO_XEXEC 
     
    361361        GetImageInfo(collectedData.handle->imInfo); 
    362362 
    363         if (collectedData.handle->imHandle != NULL) 
    364         { 
    365                 DestroyImage(collectedData.handle->imHandle); 
    366         } 
    367  
    368         collectedData.handle->imHandle = ConstituteImage(info.width, info.height, mappingStArr[info.mapping], (StorageType)pixelSizeStArr[info.pixelSize], info.data, (ExceptionInfo *)exInfo); 
    369         if (collectedData.handle->imHandle == NULL) 
     363        if (collectedData.handle->im != NULL) 
     364        { 
     365                DestroyImage(collectedData.handle->im); 
     366        } 
     367 
     368        collectedData.handle->im = ConstituteImage(info.width, info.height, mappingStArr[info.mapping], (StorageType)pixelSizeStArr[info.pixelSize], info.data, (ExceptionInfo *)exInfo); 
     369        if (collectedData.handle->im == NULL) 
    370370        { 
    371371                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_READ, exception::ERRNO_IMAGEMAGICK, ((ExceptionInfo *)exInfo)->error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
    372372        } 
    373373 
    374         collectedData.handle->imInfo->compression = collectedData.handle->imHandle->compression; 
    375         collectedData.handle->imInfo->quality = collectedData.handle->imHandle->quality; 
    376  
    377         strcpy(collectedData.handle->imInfo->magick, collectedData.handle->imHandle->magick); 
     374        collectedData.handle->imInfo->compression = collectedData.handle->im->compression; 
     375        collectedData.handle->imInfo->quality = collectedData.handle->im->quality; 
     376 
     377        strcpy(collectedData.handle->imInfo->magick, collectedData.handle->im->magick); 
    378378 
    379379#ifndef GRAPHICS_WO_XEXEC 
     
    398398        GetImageInfo(collectedData.handle->imInfo); 
    399399 
    400         if (collectedData.handle->imHandle != NULL) 
    401         { 
    402                 DestroyImage(collectedData.handle->imHandle); 
     400        if (collectedData.handle->im != NULL) 
     401        { 
     402                DestroyImage(collectedData.handle->im); 
    403403        } 
    404404 
     
    416416        bg.index = 0; 
    417417 
    418         collectedData.handle->imHandle = NewMagickImage(collectedData.handle->imInfo, width, height, &bg); 
    419         if (collectedData.handle->imHandle == NULL) 
     418        collectedData.handle->im = NewMagickImage(collectedData.handle->imInfo, width, height, &bg); 
     419        if (collectedData.handle->im == NULL) 
    420420        { 
    421421                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_CREATE, exception::ERRNO_IMAGEMAGICK, ((ExceptionInfo *)exInfo)->error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
    422422        } 
    423423 
    424         collectedData.handle->imInfo->compression = collectedData.handle->imHandle->compression; 
    425         collectedData.handle->imInfo->quality = collectedData.handle->imHandle->quality; 
    426  
    427         strcpy(collectedData.handle->imInfo->magick, collectedData.handle->imHandle->magick); 
     424        collectedData.handle->imInfo->compression = collectedData.handle->im->compression; 
     425        collectedData.handle->imInfo->quality = collectedData.handle->im->quality; 
     426 
     427        strcpy(collectedData.handle->imInfo->magick, collectedData.handle->im->magick); 
    428428 
    429429#ifndef GRAPHICS_WO_XEXEC 
     
    442442        } 
    443443 
    444         if (collectedData.handle->imHandle == NULL) 
     444        if (collectedData.handle->im == NULL) 
    445445        { 
    446446                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_SETTYPE, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    447447        } 
    448448 
    449         if (SetImageType(collectedData.handle->imHandle, (ImageType)typeStArr[type]) == MagickFalse) 
     449        if (SetImageType(collectedData.handle->im, (ImageType)typeStArr[type]) == MagickFalse) 
    450450        { 
    451451                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_SETTYPE, exception::ERRNO_IMAGEMAGICK, IMAGEEX_CANNOTSETTYPE, GRAPHICSIMAGEEX_CANNOTSETTYPE_STR, __LINE__, __FILE__); 
     
    458458image::setAlpha() 
    459459{ 
    460         if (collectedData.handle->imHandle == NULL) 
     460        if (collectedData.handle->im == NULL) 
    461461        { 
    462462                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_SETALPHA, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    463463        } 
    464464 
    465         collectedData.handle->imHandle->matte = MagickTrue; 
     465        collectedData.handle->im->matte = MagickTrue; 
    466466} 
    467467 
     
    471471image::removeAlpha() 
    472472{ 
    473         if (collectedData.handle->imHandle == NULL) 
     473        if (collectedData.handle->im == NULL) 
    474474        { 
    475475                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_REMOVEALPHA, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    476476        } 
    477477 
    478         collectedData.handle->imHandle->matte = MagickFalse; 
     478        collectedData.handle->im->matte = MagickFalse; 
    479479} 
    480480 
     
    484484image::setOpacity(unsigned short opacity) 
    485485{ 
    486         if (collectedData.handle->imHandle == NULL) 
     486        if (collectedData.handle->im == NULL) 
    487487        { 
    488488                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_SETOPACITY, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    489489        } 
    490490 
    491         SetImageOpacity(collectedData.handle->imHandle, opacity); 
     491        SetImageOpacity(collectedData.handle->im, opacity); 
    492492} 
    493493 
     
    497497image::setBackgroundColor(__color background) 
    498498{ 
    499         if (collectedData.handle->imHandle == NULL) 
     499        if (collectedData.handle->im == NULL) 
    500500        { 
    501501                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_SETBACKGROUNDCOLOR, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    502502        } 
    503503 
    504         collectedData.handle->imHandle->background_color.red = background.red; 
    505         collectedData.handle->imHandle->background_color.green = background.green; 
    506         collectedData.handle->imHandle->background_color.blue = background.blue; 
    507         collectedData.handle->imHandle->background_color.opacity = background.opacity; 
    508  
    509         SetImageBackgroundColor(collectedData.handle->imHandle); 
     504        collectedData.handle->im->background_color.red = background.red; 
     505        collectedData.handle->im->background_color.green = background.green; 
     506        collectedData.handle->im->background_color.blue = background.blue; 
     507        collectedData.handle->im->background_color.opacity = background.opacity; 
     508 
     509        SetImageBackgroundColor(collectedData.handle->im); 
    510510} 
    511511 
     
    515515image::close() 
    516516{ 
    517         if (collectedData.handle->imHandle != NULL) 
    518         { 
    519                 DestroyImage(collectedData.handle->imHandle); 
    520  
    521                 collectedData.handle->imHandle = NULL; 
     517        if (collectedData.handle->im != NULL) 
     518        { 
     519                DestroyImage(collectedData.handle->im); 
     520 
     521                collectedData.handle->im = NULL; 
    522522        } 
    523523} 
     
    533533#endif 
    534534 
    535         if (collectedData.handle->imHandle == NULL) 
     535        if (collectedData.handle->im == NULL) 
    536536        { 
    537537                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_WRITE, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    545545        } 
    546546 
    547         strncpy(collectedData.handle->imHandle->filename, str.c_str(), size); 
     547        strncpy(collectedData.handle->im->filename, str.c_str(), size); 
    548548 
    549549        GetExceptionInfo((ExceptionInfo *)exInfo); 
    550550 
    551         if (WriteImage(collectedData.handle->imInfo, collectedData.handle->imHandle) == MagickFalse) 
    552         { 
    553                 throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_WRITE, exception::ERRNO_IMAGEMAGICK, collectedData.handle->imHandle->exception.error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
     551        if (WriteImage(collectedData.handle->imInfo, collectedData.handle->im) == MagickFalse) 
     552        { 
     553                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_WRITE, exception::ERRNO_IMAGEMAGICK, collectedData.handle->im->exception.error_number, ((ExceptionInfo *)exInfo)->reason, __LINE__, __FILE__, ((ExceptionInfo *)exInfo)->description); 
    554554        } 
    555555 
     
    569569#endif 
    570570 
    571         if (collectedData.handle->imHandle == NULL) 
     571        if (collectedData.handle->im == NULL) 
    572572        { 
    573573                throw exception::basic(exception::ERRMODULE_GRAPHICSIMAGE, IMAGEEX_WRITE, exception::ERRNO_IMAGEMAGICK, IMAGEEX_EMPTYIMAGE, GRAPHICSIMAGEEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    577577 
    578578        unsigned long size = 0; 
    579         unsigned char *imData = ImageToBlob(collectedData.handle->imInfo, collectedData.handle->imHandle, (size_t *)&size, (ExceptionInfo *)exInfo); 
     579        unsigned char *imData = ImageToBlob(collectedData.handle->imInfo, collectedData.handle->im, (size_t *)&size, (ExceptionInfo *)exInfo); 
    580580        if (imData == NULL) 
    581581        { 
     
    665665image::getImageSize() 
    666666{ 
    667         if (collectedData.handle->imHandle == NULL) 
     667        if (collectedData.handle->im == NULL) 
    668668        { 
    669669                return __imageSize(); 
     
    672672        __imageSize info; 
    673673 
    674         info.height = collectedData.handle->imHandle->rows; 
    675         info.width = collectedData.handle->imHandle->columns; 
     674        info.height = collectedData.handle->im->rows; 
     675        info.width = collectedData.handle->im->columns; 
    676676 
    677677        return info; 
  • trunk/src/graphicsImage.inline

    r1188 r1189  
    4242        { 
    4343                /** 
    44                  * @struct __imageHandle 
     44                 * @struct __image 
    4545                 * @brief defines internal handlers for image processing library 
    4646                 */ 
    47                 struct __imageHandle 
     47                struct __image 
    4848                { 
    4949                        ImageInfo *imInfo; ///< image info handler 
    50                         Image     *imHandle;    ///< image handler 
     50                        Image     *im;    ///< image handler 
    5151                }; 
    5252        }; 
  • trunk/src/graphicsTransform.cc

    r1183 r1189  
    8383                                 unsigned long height) 
    8484{ 
    85         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     85        if (im == NULL || im->collectedData.handle->im == NULL) 
    8686        { 
    8787                throw exception::basic(exception::ERRMODULE_GRAPHICSTRANSFORM, TRANSFORMEX_SCALE, exception::ERRNO_IMAGEMAGICK, TRANSFORMEX_EMPTYIMAGE, GRAPHICSTRANSFORMEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    9090        GetExceptionInfo((ExceptionInfo *)im->exInfo); 
    9191 
    92         Image *image = ScaleImage(im->collectedData.handle->imHandle, width, height, (ExceptionInfo *)im->exInfo); 
     92        Image *image = ScaleImage(im->collectedData.handle->im, width, height, (ExceptionInfo *)im->exInfo); 
    9393 
    9494        if (image == NULL) 
     
    9797        } 
    9898 
    99         DestroyImage(im->collectedData.handle->imHandle); 
     99        DestroyImage(im->collectedData.handle->im); 
    100100 
    101         im->collectedData.handle->imHandle = image; 
     101        im->collectedData.handle->im = image; 
    102102} 
    103103 
     
    107107transform::scale(unsigned long size) 
    108108{ 
    109         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     109        if (im == NULL || im->collectedData.handle->im == NULL) 
    110110        { 
    111111                throw exception::basic(exception::ERRMODULE_GRAPHICSTRANSFORM, TRANSFORMEX_SCALE, exception::ERRNO_IMAGEMAGICK, TRANSFORMEX_EMPTYIMAGE, GRAPHICSTRANSFORMEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
    112112        } 
    113113 
    114         float mult = (float)size / (float)((im->collectedData.handle->imHandle->columns > im->collectedData.handle->imHandle->rows) ? im->collectedData.handle->imHandle->columns : im->collectedData.handle->imHandle->rows); 
     114        float mult = (float)size / (float)((im->collectedData.handle->im->columns > im->collectedData.handle->im->rows) ? im->collectedData.handle->im->columns : im->collectedData.handle->im->rows); 
    115115 
    116116        GetExceptionInfo((ExceptionInfo *)im->exInfo); 
    117117 
    118         Image *image = ScaleImage(im->collectedData.handle->imHandle, (unsigned long)floor(im->collectedData.handle->imHandle->columns * mult), (unsigned long)floor(im->collectedData.handle->imHandle->rows * mult), (ExceptionInfo *)im->exInfo); 
     118        Image *image = ScaleImage(im->collectedData.handle->im, (unsigned long)floor(im->collectedData.handle->im->columns * mult), (unsigned long)floor(im->collectedData.handle->im->rows * mult), (ExceptionInfo *)im->exInfo); 
    119119 
    120120        if (image == NULL) 
     
    123123        } 
    124124 
    125         DestroyImage(im->collectedData.handle->imHandle); 
     125        DestroyImage(im->collectedData.handle->im); 
    126126 
    127         im->collectedData.handle->imHandle = image; 
     127        im->collectedData.handle->im = image; 
    128128} 
    129129 
     
    133133transform::rotate(double angle) 
    134134{ 
    135         if (im == NULL || im->collectedData.handle->imHandle == NULL) 
     135        if (im == NULL || im->collectedData.handle->im == NULL) 
    136136        { 
    137137                throw exception::basic(exception::ERRMODULE_GRAPHICSTRANSFORM, TRANSFORMEX_ROTATE, exception::ERRNO_IMAGEMAGICK, TRANSFORMEX_EMPTYIMAGE, GRAPHICSTRANSFORMEX_EMPTYIMAGE_STR, __LINE__, __FILE__); 
     
    140140        GetExceptionInfo((ExceptionInfo *)im->exInfo); 
    141141 
    142         Image *image = RotateImage(im->collectedData.handle->imHandle, angle, (ExceptionInfo *)im->exInfo); 
     142        Image *image = RotateImage(im->collectedData.handle->im, angle, (ExceptionInfo *)im->exInfo); 
    143143 
    144144        if (image == NULL) 
     
    147147        } 
    148148 
    149         DestroyImage(im->collectedData.handle->imHandle); 
     149        DestroyImage(im->collectedData.handle->im); 
    150150 
    151         im->collectedData.handle->imHandle = image; 
     151        im->collectedData.handle->im = image; 
    152152} 
    153153 
  • trunk/src/ioNetworkSslClient.cc

    r1185 r1189  
    6060                                                                                           a_type), 
    6161                                                           sslConnected(false), 
    62                                                            handle(new io::ssl::__sslHandle), 
     62                                                           handle(new io::ssl::__sslConnection), 
    6363                                                           ctx(new io::ssl::__sslContext) 
    6464{ 
  • trunk/src/ioNetworkSslExchange.cc

    r1185 r1189  
    4949 
    5050__initialAccept::__initialAccept() : socket(-1), 
    51                                                                          handle(new io::ssl::__sslHandle) 
     51                                                                         handle(new io::ssl::__sslConnection) 
    5252{ 
    5353        handle->handle = NULL; 
     
    5757 
    5858__initialAccept::__initialAccept(__initialAccept &init) : socket(init.socket), 
    59                                                                                                                   handle(new io::ssl::__sslHandle) 
     59                                                                                                                  handle(new io::ssl::__sslConnection) 
    6060{ 
    6161        handle->handle = init.handle->handle; 
     
    8989 
    9090exchange::exchange(short protection) : channel(protection), 
    91                                                                            handle(new io::ssl::__sslHandle) 
     91                                                                           handle(new io::ssl::__sslConnection) 
    9292{ 
    9393#ifndef IO_WO_XEXEC 
     
    102102exchange::exchange(__initialAccept &a_init, 
    103103                                   short           protection) : channel(protection), 
    104                                                                                                  handle(new io::ssl::__sslHandle) 
     104                                                                                                 handle(new io::ssl::__sslConnection) 
    105105{ 
    106106#ifndef IO_WO_XEXEC 
     
    143143void 
    144144exchange::_close(int socket, 
    145                                  io::ssl::__sslHandle *handle) 
     145                                 io::ssl::__sslConnection *handle) 
    146146{ 
    147147        int err = SSL_shutdown(handle->handle); 
     
    193193void 
    194194exchange::init(int  a_socket, 
    195                            io::ssl::__sslHandle  *a_handle, 
     195                           io::ssl::__sslConnection  *a_handle, 
    196196                           bool a_blocked, 
    197197                           bool blockInherited) 
  • trunk/src/ioPipe.cc

    r1183 r1189  
    4646                                                                   outPipeBuffer(IOPIPE_OUTSIZE), 
    4747                                                                   blocked(true), 
    48                                                                    inHandle(NULL), 
    49                                                                    outHandle(NULL), 
     48                                                                   in(NULL), 
     49                                                                   out(NULL), 
    5050                                                                   channel(protection) 
    5151{ 
     
    6363                } 
    6464 
    65                 inHandle = fdopen(pipefd[0], "r"); 
    66                 if (inHandle == NULL) 
    67                 { 
    68                         throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    69                 } 
    70  
    71                 outHandle = fdopen(pipefd[1], "w"); 
    72                 if (outHandle == NULL) 
     65                in = fdopen(pipefd[0], "r"); 
     66                if (in == NULL) 
     67                { 
     68                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     69                } 
     70 
     71                out = fdopen(pipefd[1], "w"); 
     72                if (out == NULL) 
    7373                { 
    7474                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    8282                                                                 outPipeBuffer(fd.outPipeBuffer), 
    8383                                                                 blocked(fd.blocked), 
    84                                                                  inHandle(NULL), 
    85                                                                  outHandle(NULL), 
     84                                                                 in(NULL), 
     85                                                                 out(NULL), 
    8686                                                                 channel(protection) 
    8787{ 
     
    9393        outSize = fd.outSize; 
    9494 
    95         if (fd.inHandle != NULL && fd.outHandle != NULL) 
     95        if (fd.in != NULL && fd.out != NULL) 
    9696        { 
    9797                int oldDesc, newDesc; 
    9898 
    99                 oldDesc = fileno((FILE *)fd.inHandle); 
     99                oldDesc = fileno((FILE *)fd.in); 
    100100                if (oldDesc == -1) 
    101101                { 
     
    109109                } 
    110110 
    111                 inHandle = fdopen(newDesc, "r"); 
    112                 if (inHandle == NULL) 
    113                 { 
    114                         throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    115                 } 
    116  
    117                 oldDesc = fileno((FILE *)fd.outHandle); 
     111                in = fdopen(newDesc, "r"); 
     112                if (in == NULL) 
     113                { 
     114                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     115                } 
     116 
     117                oldDesc = fileno((FILE *)fd.out); 
    118118                if (oldDesc == -1) 
    119119                { 
     
    127127                } 
    128128 
    129                 outHandle = fdopen(newDesc, "w"); 
    130                 if (outHandle == NULL) 
     129                out = fdopen(newDesc, "w"); 
     130                if (out == NULL) 
    131131                { 
    132132                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PIPE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    139139io::pipe::~pipe() 
    140140{ 
    141         if (inHandle != NULL) 
    142         { 
    143                 fclose((FILE *)inHandle); 
    144         } 
    145  
    146         if (outHandle != NULL) 
    147         { 
    148                 fclose((FILE *)outHandle); 
     141        if (in != NULL) 
     142        { 
     143                fclose((FILE *)in); 
     144        } 
     145 
     146        if (out != NULL) 
     147        { 
     148                fclose((FILE *)out); 
    149149        } 
    150150} 
     
    157157        pc::sync::protector pg(keeper); 
    158158 
    159         if (inHandle != NULL) 
    160         { 
    161                 if (fclose((FILE *)inHandle) != 0) 
     159        if (in != NULL) 
     160        { 
     161                if (fclose((FILE *)in) != 0) 
    162162                { 
    163163                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLONE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    164164                } 
    165165 
    166                 inHandle = NULL; 
    167         } 
    168  
    169         if (outHandle != NULL) 
    170         { 
    171                 if (fclose((FILE *)outHandle) != 0) 
     166                in = NULL; 
     167        } 
     168 
     169        if (out != NULL) 
     170        { 
     171                if (fclose((FILE *)out) != 0) 
    172172                { 
    173173                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLONE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    174174                } 
    175175 
    176                 outHandle = NULL; 
     176                out = NULL; 
    177177        } 
    178178 
     
    183183        outSize = fd.outSize; 
    184184 
    185         if (fd.inHandle != NULL && fd.outHandle != NULL) 
     185        if (fd.in != NULL && fd.out != NULL) 
    186186        { 
    187187                int oldDesc, newDesc; 
    188188 
    189                 oldDesc = fileno((FILE *)fd.inHandle); 
     189                oldDesc = fileno((FILE *)fd.in); 
    190190                if (oldDesc == -1) 
    191191                { 
     
    199199                } 
    200200 
    201                 inHandle = fdopen(newDesc, "r"); 
    202                 if (inHandle == NULL) 
     201                in = fdopen(newDesc, "r"); 
     202                if (in == NULL) 
    203203                { 
    204204                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLONE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    205205                } 
    206206 
    207                 oldDesc = fileno((FILE *)fd.outHandle); 
     207                oldDesc = fileno((FILE *)fd.out); 
    208208                if (oldDesc == -1) 
    209209                { 
     
    217217                } 
    218218 
    219                 outHandle = fdopen(newDesc, "w"); 
    220                 if (outHandle == NULL) 
     219                out = fdopen(newDesc, "w"); 
     220                if (out == NULL) 
    221221                { 
    222222                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLONE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    232232        pc::sync::protector pg(keeper); 
    233233 
    234         if (inHandle == NULL) 
     234        if (in == NULL) 
    235235        { 
    236236                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_GETINDESCRIPTOR, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
    237237        } 
    238238 
    239         return fileno((FILE *)inHandle); 
     239        return fileno((FILE *)in); 
    240240} 
    241241 
     
    247247        pc::sync::protector pg(keeper); 
    248248 
    249         if (outHandle == NULL) 
     249        if (out == NULL) 
    250250        { 
    251251                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_GETOUTDESCRIPTOR, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
    252252        } 
    253253 
    254         return fileno((FILE *)outHandle); 
     254        return fileno((FILE *)out); 
    255255} 
    256256 
     
    267267#endif 
    268268 
    269         if (inHandle != NULL) 
    270         { 
    271                 if (fclose((FILE *)inHandle) != 0) 
     269        if (in != NULL) 
     270        { 
     271                if (fclose((FILE *)in) != 0) 
    272272                { 
    273273                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLOSE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    274274                } 
    275275 
    276                 inHandle = NULL; 
    277         } 
    278  
    279         if (outHandle != NULL) 
    280         { 
    281                 if (fclose((FILE *)outHandle) != 0) 
     276                in = NULL; 
     277        } 
     278 
     279        if (out != NULL) 
     280        { 
     281                if (fclose((FILE *)out) != 0) 
    282282                { 
    283283                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_CLOSE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    284284                } 
    285285 
    286                 outHandle = NULL; 
     286                out = NULL; 
    287287        } 
    288288 
     
    304304#endif 
    305305 
    306         if (inHandle != NULL) 
    307         { 
    308                 if (fclose((FILE *)inHandle) != 0) 
     306        if (in != NULL) 
     307        { 
     308                if (fclose((FILE *)in) != 0) 
    309309                { 
    310310                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_OPEN, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    311311                } 
    312312 
    313                 inHandle = NULL; 
    314         } 
    315  
    316         if (outHandle != NULL) 
    317         { 
    318                 if (fclose((FILE *)outHandle) != 0) 
     313                in = NULL; 
     314        } 
     315 
     316        if (out != NULL) 
     317        { 
     318                if (fclose((FILE *)out) != 0) 
    319319                { 
    320320                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_OPEN, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    321321                } 
    322322 
    323                 outHandle = NULL; 
     323                out = NULL; 
    324324        } 
    325325 
     
    331331        } 
    332332 
    333         inHandle = fdopen(pipefd[0], "r"); 
    334         if (inHandle == NULL) 
     333        in = fdopen(pipefd[0], "r"); 
     334        if (in == NULL) 
    335335        { 
    336336                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_OPEN, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    337337        } 
    338338 
    339         outHandle = fdopen(pipefd[1], "w"); 
    340         if (outHandle == NULL) 
     339        out = fdopen(pipefd[1], "w"); 
     340        if (out == NULL) 
    341341        { 
    342342                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_OPEN, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    353353io::pipe::_read(char * const a_data) 
    354354{ 
    355         if (inHandle == NULL) 
     355        if (in == NULL) 
    356356        { 
    357357                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__READ, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
     
    374374                        while (true) 
    375375                        { 
    376                                 if ((n = fread(data, 1, batch, (FILE *)inHandle)) == 0) 
     376                                if ((n = fread(data, 1, batch, (FILE *)in)) == 0) 
    377377                                { 
    378                                         if (feof((FILE *)inHandle) != 0 || errno == EAGAIN) 
     378                                        if (feof((FILE *)in) != 0 || errno == EAGAIN) 
    379379                                        { 
    380380                                                break; 
     
    386386                                        } 
    387387 
    388                                         if (ferror((FILE *)inHandle) != 0) 
     388                                        if (ferror((FILE *)in) != 0) 
    389389                                        { 
    390390                                                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__READ, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    407407                        while (true) 
    408408                        { 
    409                                 if ((n = fread(data, 1, batch, (FILE *)inHandle)) == 0) 
     409                                if ((n = fread(data, 1, batch, (FILE *)in)) == 0) 
    410410                                { 
    411                                         if (feof((FILE *)inHandle) != 0 || errno == EAGAIN) 
     411                                        if (feof((FILE *)in) != 0 || errno == EAGAIN) 
    412412                                        { 
    413413                                                break; 
     
    419419                                        } 
    420420 
    421                                         if (ferror((FILE *)inHandle) != 0) 
     421                                        if (ferror((FILE *)in) != 0) 
    422422                                        { 
    423423                                                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__READ, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    439439io::pipe::_write(const char *const buf) 
    440440{ 
    441         if (outHandle == NULL) 
     441        if (out == NULL) 
    442442        { 
    443443                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__WRITE, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
     
    458458                        while (true) 
    459459                        { 
    460                                 if ((n = fwrite(data, 1, batch, (FILE *)outHandle)) == 0) 
     460                                if ((n = fwrite(data, 1, batch, (FILE *)out)) == 0) 
    461461                                { 
    462462                                        if (errno == EINTR) 
     
    470470                                        } 
    471471 
    472                                         if (ferror((FILE *)outHandle) != 0) 
     472                                        if (ferror((FILE *)out) != 0) 
    473473                                        { 
    474474                                                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__WRITE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    491491                        while (true) 
    492492                        { 
    493                                 if ((n = fwrite(data, 1, batch, (FILE *)outHandle)) == 0) 
     493                                if ((n = fwrite(data, 1, batch, (FILE *)out)) == 0) 
    494494                                { 
    495495                                        if (errno == EINTR) 
     
    503503                                        } 
    504504 
    505                                         if (ferror((FILE *)outHandle) != 0) 
     505                                        if (ferror((FILE *)out) != 0) 
    506506                                        { 
    507507                                                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__WRITE, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    525525        pc::sync::protector pg(keeper); 
    526526 
    527         if (outHandle == NULL) 
     527        if (out == NULL) 
    528528        { 
    529529                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_FLUSH, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
    530530        } 
    531531 
    532         if (fflush((FILE *)outHandle) != 0) 
     532        if (fflush((FILE *)out) != 0) 
    533533        { 
    534534                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_FLUSH, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    543543        pc::sync::protector pg(keeper); 
    544544 
    545         if (inHandle == NULL) 
     545        if (in == NULL) 
    546546        { 
    547547                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_PEERINFO, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
     
    554554        socklen_t len = sizeof(sockaddr_in6); 
    555555 
    556         int desc = fileno((FILE *)inHandle); 
     556        int desc = fileno((FILE *)in); 
    557557        if (desc == -1) 
    558558        { 
     
    627627        pc::sync::protector pg(keeper); 
    628628 
    629         if (inHandle == NULL && outHandle == NULL) 
     629        if (in == NULL && out == NULL) 
    630630        { 
    631631                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX_BLOCK, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
     
    640640        int desc; 
    641641 
    642         desc = fileno((FILE *)inHandle); 
     642        desc = fileno((FILE *)in); 
    643643        if (desc == -1) 
    644644        { 
     
    666666        } 
    667667 
    668         desc = fileno((FILE *)outHandle); 
     668        desc = fileno((FILE *)out); 
    669669        if (desc == -1) 
    670670        { 
     
    700700io::pipe::_readStream(char * const a_data) 
    701701{ 
    702         if (inHandle == NULL) 
     702        if (in == NULL) 
    703703        { 
    704704                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__READSTREAM, exception::ERRNO_LIBDODO, PIPEEX_PIPENOTOPENED, IOPIPEEX_NOTOPENED_STR, __LINE__, __FILE__); 
     
    711711        while (true) 
    712712        { 
    713                 if (fgets(a_data, readSize, (FILE *)inHandle) == NULL) 
     713                if (fgets(a_data, readSize, (FILE *)in) == NULL) 
    714714                { 
    715715                        if (errno == EINTR) 
     
    723723                        } 
    724724 
    725                         if (ferror((FILE *)inHandle) != 0) 
     725                        if (ferror((FILE *)in) != 0) 
    726726                        { 
    727727                                throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__READSTREAM, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
     
    755755                while (true) 
    756756                { 
    757                         if (fputc('\n', (FILE *)outHandle) == EOF) 
     757                        if (fputc('\n', (FILE *)out) == EOF) 
    758758                        { 
    759759                                if (errno == EINTR) 
     
    767767                                } 
    768768 
    769                                 if (ferror((FILE *)outHandle) != 0) 
     769                                if (ferror((FILE *)out) != 0) 
    770770                                { 
    771771                                        throw exception::basic(exception::ERRMODULE_IOPIPE, PIPEEX__WRITESTREAM, exception::ERRNO_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
  • trunk/src/ioSsl.inline

    r1188 r1189  
    4040                { 
    4141                        /** 
    42                          * @struct __sslHandle 
     42                         * @struct __sslConnection 
    4343                         * @brief defines internal handlers for SSL 
    4444                         */ 
    45                         struct __sslHandle 
     45                        struct __sslConnection 
    4646                        { 
    4747                                SSL *handle;     ///< SSL connection handle 
  • trunk/src/ioStdio.cc

    r1166 r1189  
    4141#endif 
    4242 
    43         inHandle = stdin; 
    44         outHandle = stdout; 
     43        in = stdin; 
     44        out = stdout; 
    4545} 
    4646 
     
    8585        if (err) 
    8686        { 
    87                 outHandle = stderr; 
     87                out = stderr; 
    8888        } 
    8989        else 
    9090        { 
    91                 outHandle = stdout; 
     91                out = stdout; 
    9292        } 
    9393} 
  • trunk/src/pcSyncProcessDataSingle.cc

    r1188 r1189  
    4040#include <time.h> 
    4141 
    42 #include "pcSyncProcessSemaphore.inline" 
     42#include "pcSyncProcessLock.inline" 
    4343 
    4444#include <libdodo/pcSyncProcessDataSingle.h> 
     
    6060                                                        autogenerated(false), 
    6161                                                        acquired(false), 
    62                                                         semaphore(new pc::sync::process::__semaphoreHandle) 
     62                                                        semaphore(new pc::sync::process::__lock) 
    6363{ 
    6464#ifdef XSI_IPC 
     
    122122                                   autogenerated(false), 
    123123                                   acquired(false), 
    124                                    semaphore(new pc::sync::process::__semaphoreHandle) 
     124                                   semaphore(new pc::sync::process::__lock) 
    125125{ 
    126126} 
  • trunk/src/pcSyncProcessLock.inline

    r1188 r1189  
    11/*************************************************************************** 
    2  *            pcSyncProcessSemaphore.inline 
     2 *            pcSyncProcessLock.inline 
    33 * 
    44 *  Sat Mar 21 02:36:14 2009 
     
    4949                        { 
    5050                                /** 
    51                                  * @struct __semaphoreHandle 
     51                                 * @struct __lock 
    5252                                 * @brief defines system semaphore 
    5353                                 */ 
    54                                 struct __semaphoreHandle 
     54                                struct __lock 
    5555                                { 
    5656                                        /** 
    5757                                         * constructor 
    5858                                         */ 
    59                                         __semaphoreHandle() : 
     59                                        __lock() : 
    6060#ifdef XSI_IPC 
    6161                                        keeper(-1) 
  • trunk/src/pcSyncProcessSection.cc

    r1188 r1189  
    3838#endif 
    3939 
    40 #include "pcSyncProcessSemaphore.inline" 
     40#include "pcSyncProcessLock.inline" 
    4141 
    4242#include <libdodo/pcSyncProcessSection.h> 
     
    5757section::section(int a_key) : autogenerated(false), 
    5858                                                          acquired(false), 
    59                                                           semaphore(new __semaphoreHandle) 
     59                                                          semaphore(new __lock) 
    6060{ 
    6161#ifdef XSI_IPC 
     
    119119section::section() : autogenerated(false), 
    120120                                         acquired(false), 
    121                                          semaphore(new __semaphoreHandle) 
     121                                         semaphore(new __lock) 
    122122{ 
    123123} 
  • trunk/src/rpcXmlClient.cc

    r1188 r1189  
    7777        rpEncoding = xmlValue.getBufferInfo(data).encoding; 
    7878 
    79         dodo::data::format::xml::__nodeHandleDef xmlMethodResponse; 
     79        dodo::data::format::xml::__nodeDef xmlMethodResponse; 
    8080        xmlMethodResponse.name = "methodResponse"; 
    8181        xmlMethodResponse.allChildren = true; 
  • trunk/src/rpcXmlServer.cc

    r1188 r1189  
    6565        rqEncoding = xmlValue.getBufferInfo(data).encoding; 
    6666 
    67         dodo::data::format::xml::__nodeHandleDef xmlMethodCall; 
     67        dodo::data::format::xml::__nodeDef xmlMethodCall; 
    6868        xmlMethodCall.name = "methodCall"; 
    6969        xmlMethodCall.allChildren = true; 
Note: See TracChangeset for help on using the changeset viewer.