Changeset 809:e77aaa92c2f9


Ignore:
Timestamp:
05/15/08 05:42:43 (4 years ago)
Author:
niam
Branch:
libdodo
Tags:
libdodo-0.9.0
Message:

*: misc renamings; fixed iostd_test

Location:
trunk
Files:
24 edited

Legend:

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

    r803 r809  
    116116 
    117117        /** 
    118          * @struct __exMod is returned from initExModule in the library 
    119          */ 
    120         struct __exMod 
     118         * @struct __baseExMod is returned from initBaseExModule in the library 
     119         */ 
     120        struct __baseExMod 
    121121        { 
    122122                char name[64];                  ///< name of the library 
     
    127127 
    128128        /** 
    129          * @typedef initExModule defines type of init function for library 
    130          */ 
    131         typedef __exMod (*initExModule)(void *); 
    132  
    133         /** 
    134          * @typedef deinitExModule defines type of deinit function for library 
    135          */ 
    136         typedef void (*deinitExModule)(); 
     129         * @typedef initBaseExModule defines type of init function for library 
     130         */ 
     131        typedef __baseExMod (*initBaseExModule)(void *); 
     132 
     133        /** 
     134         * @typedef deinitBaseExModule defines type of deinit function for library 
     135         */ 
     136        typedef void (*deinitBaseExModule)(); 
    137137 
    138138#endif 
     
    220220                         * @param toInit defines data that will be passed to the init function 
    221221                         */ 
    222                         static __exMod getModuleInfo(const dodoString &path, void *toInit = NULL); 
     222                        static __baseExMod getModuleInfo(const dodoString &path, void *toInit = NULL); 
    223223 
    224224                        /** 
     
    228228                         * @param data decribes data that will be passed to the handler 
    229229                         * @param toInit defines data that will be passed to the init function 
    230                          * @note module for what to set handler is taken from the library information[see __exMod] 
     230                         * @note module for what to set handler is taken from the library information[see __baseExMod] 
    231231                         */ 
    232232                        static bool setErrorHandler(const dodoString &path, void *data, void *toInit = NULL); 
  • trunk/include/libdodo/cgiFastExchangeEx.h

    r807 r809  
    3838                         * libdodo defined errors 
    3939                         */ 
    40                         enum fastExchangeExR 
     40                        enum exchangeExR 
    4141                        { 
    4242                                FASTEXCHANGEEX_FAILEDTOFLUSH, 
     
    5353                         * IDs of functions where exception might be thrown 
    5454                         */ 
    55                         enum fastExchangeFunctionsID 
     55                        enum exchangeFunctionsID 
    5656                        { 
    5757                                FASTEXCHANGEEX_FLUSH, 
  • trunk/include/libdodo/cgiFastServerEx.h

    r807 r809  
    3838                         * libdodo defined errors 
    3939                         */ 
    40                         enum fastExR 
     40                        enum serverExR 
    4141                        { 
    42                                 FASTSERVEREX_ACCEPTFAILED, 
    43                                 FASTSERVEREX_ISCGI, 
     42                                SERVEREX_ACCEPTFAILED, 
     43                                SERVEREX_ISCGI, 
    4444                        }; 
    4545                 
     
    5353                         * IDs of functions where exception might be thrown 
    5454                         */ 
    55                         enum fastFunctionsID 
     55                        enum serverFunctionsID 
    5656                        { 
    57                                 FASTSERVEREX_LISTEN, 
    58                                 FASTSERVEREX_STACKTHREAD, 
     57                                SERVEREX_LISTEN, 
     58                                SERVEREX_STACKTHREAD, 
    5959                        }; 
    6060                } 
  • trunk/include/libdodo/cgiPreprocessorEx.h

    r807 r809  
    3636                 * libdodo defined errors 
    3737                 */ 
    38                 enum cgiPreprocessorExR 
     38                enum preprocessorExR 
    3939                { 
    4040                        PREPROCESSOREX_NOTCLOSEDBRACKET, 
     
    4949                 * IDs of functions where exception might be thrown 
    5050                 */ 
    51                 enum cgiPreprocessorFunctionsID 
     51                enum preprocessorFunctionsID 
    5252                { 
    5353                        PREPROCESSOREX__PREPROCESSSTRING, 
  • trunk/include/libdodo/cgiProcessorEx.h

    r807 r809  
    3636                 * libdodo defined errors 
    3737                 */ 
    38                 enum cgiProcessorExR 
     38                enum processorExR 
    3939                { 
    4040                        PROCESSOREX_WRONGIFSTATEMENT, 
     
    5959                 * IDs of functions where exception might be thrown 
    6060                 */ 
    61                 enum cgiProcessorFunctionsID 
     61                enum processorFunctionsID 
    6262                { 
    6363                        PROCESSOREX__IF, 
  • trunk/include/libdodo/ipcProcessCollection.h

    r805 r809  
    5252                        enum collectionOnDestructEnum 
    5353                        { 
    54                                 COLLECTION_KEEP_ALIVE, 
    55                                 COLLECTION_STOP, ///< send SIGINT to process 
    56                                 COLLECTION_WAIT 
     54                                COLLECTION_ONDESTRUCT_KEEP_ALIVE, 
     55                                COLLECTION_ONDESTRUCT_STOP, ///< send SIGINT to process 
     56                                COLLECTION_ONDESTRUCT_WAIT 
    5757                        }; 
    5858                 
     
    8484                 
    8585                        /** 
    86                          * @struct __collectionMod defines data that is returned from initSystemProcessCollectionModule in the library 
    87                          */ 
    88                         struct __collectionMod 
     86                         * @struct __processMod defines data that is returned from initIpcProcessCollectionModule in the library 
     87                         */ 
     88                        struct __processMod 
    8989                        { 
    9090                                char name[64];                  ///< name of module 
     
    9696                 
    9797                        /** 
    98                          * @typedef initSystemProcessCollectionModule defines type of init function for library 
    99                          */ 
    100                         typedef __collectionMod (*initSystemProcessCollectionModule)(void *); 
    101                  
    102                         /** 
    103                          * @typedef deinitSystemProcessCollectionModule defines type of deinit function for library 
    104                          */ 
    105                         typedef void (*deinitSystemProcessCollectionModule)(); 
     98                         * @typedef initIpcProcessCollectionModule defines type of init function for library 
     99                         */ 
     100                        typedef __processMod (*initIpcProcessCollectionModule)(void *); 
     101                 
     102                        /** 
     103                         * @typedef deinitIpcProcessCollectionModule defines type of deinit function for library 
     104                         */ 
     105                        typedef void (*deinitIpcProcessCollectionModule)(); 
    106106                 
    107107                #endif 
     
    152152                                         * this will immediately execute the process 
    153153                                         */ 
    154                                         virtual unsigned long addNRun(job::routine func, void *data, unsigned long limit = 1, short action = COLLECTION_WAIT); 
     154                                        virtual unsigned long addNRun(job::routine func, void *data, unsigned long limit = 1, short action = COLLECTION_ONDESTRUCT_WAIT); 
    155155                                         
    156156                                        /** 
     
    160160                                         * @param data defines process data 
    161161                                         * @note func must not call `exit` family call 
    162                                          * action = COLLECTION_WAIT 
     162                                         * action = COLLECTION_ONDESTRUCT_WAIT 
    163163                                         */ 
    164164                                        virtual unsigned long add(job::routine func, void *data); 
     
    171171                                         * @note func must not call `exit` family call 
    172172                                         * this will immediately execute the process 
    173                                          * action = COLLECTION_WAIT 
     173                                         * action = COLLECTION_ONDESTRUCT_WAIT 
    174174                                         */ 
    175175                                        virtual unsigned long addNRun(job::routine func, void *data); 
     
    190190                                         * @param action defines action on object destruction if process is running[see collectionOnDestructEnum] 
    191191                                         */ 
    192                                         virtual void replace(unsigned long position, job::routine func, void *data, bool force = false, short action = COLLECTION_WAIT); 
     192                                        virtual void replace(unsigned long position, job::routine func, void *data, bool force = false, short action = COLLECTION_ONDESTRUCT_WAIT); 
    193193                 
    194194                                        /** 
     
    266266                                         * @param toInit defines library init data 
    267267                                         */ 
    268                                         static __collectionMod getModuleInfo(const dodoString &module, void *toInit = NULL); 
     268                                        static __processMod getModuleInfo(const dodoString &module, void *toInit = NULL); 
    269269                 
    270270                #endif 
  • trunk/include/libdodo/ipcProcessSharedDataCollectionGuard.h

    r805 r809  
    108108                                                virtual bool getShare(unsigned long position); 
    109109                         
    110                                                 dodoList<ipc::shared::__shareInfo> shares;               ///< identificators of shared data 
     110                                                dodoList<ipc::shared::__info> shares;               ///< identificators of shared data 
    111111                         
    112112                                                unsigned long shareNum;                     ///< number of registered shares 
    113113                         
    114                                                 dodoList<ipc::shared::__shareInfo>::iterator current;    ///< iterator for list of shared data[for matched with getShare method] 
     114                                                dodoList<ipc::shared::__info>::iterator current;    ///< iterator for list of shared data[for matched with getShare method] 
    115115                                }; 
    116116                        }; 
  • trunk/include/libdodo/ipcSharedDataCollectionGuard.h

    r805 r809  
    3737                { 
    3838                        /** 
    39                          * @struct __shareInfo defines shared data 
     39                         * @struct __info defines shared data 
    4040                         */ 
    41                         struct __shareInfo 
     41                        struct __info 
    4242                        { 
    4343                                unsigned long position; ///< shared data identificator 
  • trunk/include/libdodo/ipcThreadCollection.h

    r805 r809  
    5757                        enum collectionOnDestructEnum 
    5858                        { 
    59                                 COLLECTION_KEEP_ALIVE, 
    60                                 COLLECTION_STOP, 
    61                                 COLLECTION_WAIT 
     59                                COLLECTION_ONDESTRUCT_KEEP_ALIVE, 
     60                                COLLECTION_ONDESTRUCT_STOP, 
     61                                COLLECTION_ONDESTRUCT_WAIT 
    6262                        }; 
    6363                 
     
    9696                 
    9797                        /** 
    98                          * @struct __collectionMod defines data that is returned from initSystemThreadCollectionModule in the library 
    99                          */ 
    100                         struct __collectionMod 
     98                         * @struct __threadMod defines data that is returned from initIpcThreadCollectionModule in the library 
     99                         */ 
     100                        struct __threadMod 
    101101                        { 
    102102                                char name[64];                  ///< name of module 
     
    110110                 
    111111                        /** 
    112                          * @typedef initSystemThreadCollectionModule defines type of init function for library 
    113                          */ 
    114                         typedef __collectionMod (*initSystemThreadCollectionModule)(void *); 
    115                  
    116                         /** 
    117                          * @typedef deinitSystemThreadCollectionModule defines type of deinit function for library 
    118                          */ 
    119                         typedef void (*deinitSystemThreadCollectionModule)(); 
     112                         * @typedef initIpcThreadCollectionModule defines type of init function for library 
     113                         */ 
     114                        typedef __threadMod (*initIpcThreadCollectionModule)(void *); 
     115                 
     116                        /** 
     117                         * @typedef deinitIpcThreadCollectionModule defines type of deinit function for library 
     118                         */ 
     119                        typedef void (*deinitIpcThreadCollectionModule)(); 
    120120                 
    121121                #endif 
     
    168168                                         * @note this will immediately execute the process 
    169169                                         */ 
    170                                         virtual unsigned long addNRun(job::routine func, void *data, unsigned long limit = 1, bool detached = false, short action = COLLECTION_WAIT, int stackSize = 2097152); 
     170                                        virtual unsigned long addNRun(job::routine func, void *data, unsigned long limit = 1, bool detached = false, short action = COLLECTION_ONDESTRUCT_WAIT, int stackSize = 2097152); 
    171171                 
    172172                                        /** 
     
    177177                                         * @note 
    178178                                         * detached=false 
    179                                          * action=COLLECTION_WAIT 
     179                                         * action=COLLECTION_ONDESTRUCT_WAIT 
    180180                                         * stackSize=2097152 
    181181                                         */ 
     
    190190                                         * limit=1 
    191191                                         * detached=false 
    192                                          * action=COLLECTION_WAIT 
     192                                         * action=COLLECTION_ONDESTRUCT_WAIT 
    193193                                         * stackSize=2097152 
    194194                                         */ 
     
    212212                                         * @param stackSize defines stack thread size 
    213213                                         */ 
    214                                         virtual void replace(unsigned long position, job::routine func, void *data, bool force = false, bool detached = false, short action = COLLECTION_WAIT, int stackSize = 2097152); 
     214                                        virtual void replace(unsigned long position, job::routine func, void *data, bool force = false, bool detached = false, short action = COLLECTION_ONDESTRUCT_WAIT, int stackSize = 2097152); 
    215215                 
    216216                                        /** 
     
    288288                                         * @param toInit defines library init data 
    289289                                         */ 
    290                                         static __collectionMod getModuleInfo(const dodoString &module, void *toInit = NULL); 
     290                                        static __threadMod getModuleInfo(const dodoString &module, void *toInit = NULL); 
    291291                 
    292292                #endif 
  • trunk/include/libdodo/ipcThreadSharedDataCollectionGuard.h

    r805 r809  
    108108                                                virtual bool getShare(unsigned long position); 
    109109                         
    110                                                 dodoList<ipc::shared::__shareInfo> shares;               ///< identificators of shared data 
     110                                                dodoList<ipc::shared::__info> shares;               ///< identificators of shared data 
    111111                         
    112112                                                unsigned long shareNum;                     ///< number of registered shares 
    113113                         
    114                                                 dodoList<ipc::shared::__shareInfo>::iterator current;    ///< iterator for list of shared data[for matched with getShare method] 
     114                                                dodoList<ipc::shared::__info>::iterator current;    ///< iterator for list of shared data[for matched with getShare method] 
    115115                                }; 
    116116                        }; 
  • trunk/include/libdodo/toolsNetwork.h

    r799 r809  
    4646        { 
    4747                /** 
    48                  * @struct __ifInfo defines interface information 
     48                 * @struct __interfaceInfo defines interface information 
    4949                 */ 
    50                 struct __ifInfo 
     50                struct __interfaceInfo 
    5151                { 
    5252                        dodoString address;     ///< ip address of the interface 
     
    7070 
    7171                /** 
    72                  * @struct __servInfo defines info about service 
     72                 * @struct __serviceInfo defines info about service 
    7373                 */ 
    74                 struct __servInfo 
     74                struct __serviceInfo 
    7575                { 
    7676                        dodoString name;            ///< original name of the service 
     
    9696                                 * @param interface defines a name of the interface 
    9797                                 */ 
    98                                 static __ifInfo getInterfaceInfo(const dodoString &interface); 
     98                                static __interfaceInfo getInterfaceInfo(const dodoString &interface); 
    9999 
    100100                                /** 
     
    126126                                 * @param protocol defines protocol of the service(tcp, udp ..) 
    127127                                 */ 
    128                                 static __servInfo getServiceInfo(const dodoString &service, const dodoString &protocol); 
     128                                static __serviceInfo getServiceInfo(const dodoString &service, const dodoString &protocol); 
    129129 
    130130                                /** 
     
    133133                                 * @param protocol defines protocol of the service(tcp, udp ..) 
    134134                                 */ 
    135                                 static __servInfo getServiceInfo(int port, const dodoString &protocol); 
     135                                static __serviceInfo getServiceInfo(int port, const dodoString &protocol); 
    136136 
    137137                }; 
  • trunk/include/libdodo/toolsOs.h

    r800 r809  
    166166 
    167167                /** 
    168                  * @struct __sigMod is returned from initSigModule in the library 
    169                  */ 
    170                 struct __sigMod 
     168                 * @struct __signalMod is returned from initOsSignalModule in the library 
     169                 */ 
     170                struct __signalMod 
    171171                { 
    172172                        char name[64];              ///< name of the library 
     
    178178 
    179179                /** 
    180                  * @typedef initSigModule defines type of init function for library 
    181                  */ 
    182                 typedef __sigMod (*initSigModule)(void *); 
    183  
    184                 /** 
    185                  * @typedef deinitSigModule defines type of deinit function for library 
    186                  */ 
    187                 typedef void (*deinitSigModule)(); 
     180                 * @typedef initOsSignalModule defines type of init function for library 
     181                 */ 
     182                typedef __signalMod (*initOsSignalModule)(void *); 
     183 
     184                /** 
     185                 * @typedef deinitOsSignalModule defines type of deinit function for library 
     186                 */ 
     187                typedef void (*deinitOsSignalModule)(); 
    188188 
    189189        #endif 
     
    414414                                 * @param toInit defines data that will be passed to the init function 
    415415                                 */ 
    416                                 static __sigMod getModuleInfo(const dodoString &path, void *toInit = NULL); 
     416                                static __signalMod getModuleInfo(const dodoString &path, void *toInit = NULL); 
    417417 
    418418                                /** 
  • trunk/include/libdodo/xexec.h

    r801 r809  
    6565 
    6666        /** 
    67          * @struct __execItem defines xexec node 
    68          */ 
    69         struct __execItem 
     67         * @struct __xexecItem defines xexec node 
     68         */ 
     69        struct __xexecItem 
    7070        { 
    7171                inExec func;    ///< function to execute 
     
    8282 
    8383        /** 
    84          * @struct __execItemList defines collection of hooks 
    85          */ 
    86         struct __execItemList 
    87         { 
    88                 dodoList<__execItem> exec;  ///< hooks 
     84         * @struct __xexecItemList defines collection of hooks 
     85         */ 
     86        struct __xexecItemList 
     87        { 
     88                dodoList<__xexecItem> exec;  ///< hooks 
    8989                bool execDisabled;          ///< if true hooks are disabled 
    9090        }; 
     
    368368                         * @param position defines XExec identificator 
    369369                         */ 
    370                         virtual bool getXexec(dodoList<__execItem> &list, int position); 
     370                        virtual bool getXexec(dodoList<__xexecItem> &list, int position); 
    371371 
    372372                        /** 
     
    379379                         * @param data defines hook data 
    380380                         */ 
    381                         virtual int addXExec(dodoList<__execItem> &list, inExec func, void *obj, short type, void *data); 
     381                        virtual int addXExec(dodoList<__xexecItem> &list, inExec func, void *obj, short type, void *data); 
    382382 
    383383                        /** 
     
    386386                         * @param position defines XExec identificator 
    387387                         */ 
    388                         virtual void delXExec(dodoList<__execItem> &list, int position); 
     388                        virtual void delXExec(dodoList<__xexecItem> &list, int position); 
    389389 
    390390                        /** 
     
    395395                         * @param data defines hook data 
    396396                         */ 
    397                         virtual void replaceXExec(dodoList<__execItem> &list, int position, inExec func, void *data); 
     397                        virtual void replaceXExec(dodoList<__xexecItem> &list, int position, inExec func, void *data); 
    398398 
    399399                        /** 
     
    403403                         * @param stat defines hook enabled state 
    404404                         */ 
    405                         virtual void setStatXExec(dodoList<__execItem> &list, int position, bool stat); 
     405                        virtual void setStatXExec(dodoList<__xexecItem> &list, int position, bool stat); 
    406406 
    407407#ifdef DL_EXT 
     
    417417                         * @param toInit defines data that will be passed to the init function 
    418418                         */ 
    419                         virtual int addXExecModule(dodoList<__execItem> &list, const dodoString &path, void *obj, short type, void *data, void *toInit = NULL); 
     419                        virtual int addXExecModule(dodoList<__xexecItem> &list, const dodoString &path, void *obj, short type, void *data, void *toInit = NULL); 
    420420 
    421421#endif 
     
    425425                         * @param list defines list of hooks 
    426426                         */ 
    427                         virtual void performXExec(__execItemList &list) const; 
    428  
    429                         mutable __execItemList preExec;             ///< preExec hooks 
    430                         mutable __execItemList postExec;            ///< postExec hooks 
     427                        virtual void performXExec(__xexecItemList &list) const; 
     428 
     429                        mutable __xexecItemList preExec;             ///< preExec hooks 
     430                        mutable __xexecItemList postExec;            ///< postExec hooks 
    431431 
    432432                        int execs;                                  ///< hook counter 
    433433 
    434                         dodoList<__execItem>::iterator current;     ///< iterator for list[for matched with getXexec method] 
     434                        dodoList<__xexecItem>::iterator current;     ///< iterator for list[for matched with getXexec method] 
    435435 
    436436                        mutable bool collectData;                   ///< if true to collect data for xexec[true by default] 
  • trunk/src/baseEx.cc

    r797 r809  
    358358#ifdef DL_EXT 
    359359 
    360         deinitExModule deinit; 
     360        deinitBaseExModule deinit; 
    361361 
    362362        for (int i(0); i < BASEEX_MODULES; ++i) 
     
    365365                        continue; 
    366366 
    367                 deinit = (deinitExModule)dlsym(handlesEx[i], "deinitExModule"); 
     367                deinit = (deinitBaseExModule)dlsym(handlesEx[i], "deinitBaseExModule"); 
    368368                if (deinit != NULL) 
    369369                        deinit(); 
     
    402402        if (handlesOpenedEx[module]) 
    403403        { 
    404                 deinitExModule deinit; 
    405  
    406                 deinit = (deinitExModule)dlsym(handlesEx[module], "deinitExModule"); 
     404                deinitBaseExModule deinit; 
     405 
     406                deinit = (deinitBaseExModule)dlsym(handlesEx[module], "deinitBaseExModule"); 
    407407                if (deinit != NULL) 
    408408                        deinit(); 
     
    432432         
    433433#ifdef DL_EXT 
    434         deinitExModule deinit; 
     434        deinitBaseExModule deinit; 
    435435#endif 
    436436 
     
    441441                if (handlesOpenedEx[i]) 
    442442                { 
    443                         deinit = (deinitExModule)dlsym(handlesEx[i], "deinitExModule"); 
     443                        deinit = (deinitBaseExModule)dlsym(handlesEx[i], "deinitBaseExModule"); 
    444444                        if (deinit != NULL) 
    445445                                deinit(); 
     
    472472        if (handlesOpenedEx[module]) 
    473473        { 
    474                 deinitExModule deinit; 
    475  
    476                 deinit = (deinitExModule)dlsym(handlesEx[module], "deinitExModule"); 
     474                deinitBaseExModule deinit; 
     475 
     476                deinit = (deinitBaseExModule)dlsym(handlesEx[module], "deinitBaseExModule"); 
    477477                if (deinit != NULL) 
    478478                        deinit(); 
     
    501501         
    502502#ifdef DL_EXT 
    503         deinitExModule deinit; 
     503        deinitBaseExModule deinit; 
    504504#endif 
    505505 
     
    510510                if (handlesOpenedEx[i]) 
    511511                { 
    512                         deinit = (deinitExModule)dlsym(handlesEx[i], "deinitExModule"); 
     512                        deinit = (deinitBaseExModule)dlsym(handlesEx[i], "deinitBaseExModule"); 
    513513                        if (deinit != NULL) 
    514514                                deinit(); 
     
    541541        raceHazardGuard tg; 
    542542         
    543         initExModule init; 
     543        initBaseExModule init; 
    544544        errorHandler in; 
    545         deinitExModule deinit; 
     545        deinitBaseExModule deinit; 
    546546 
    547547        for (int i(0); i < BASEEX_MODULES; ++i) 
     
    550550                if (handlesOpenedEx[i]) 
    551551                { 
    552                         deinit = (deinitExModule)dlsym(handlesEx[i], "deinitExModule"); 
     552                        deinit = (deinitBaseExModule)dlsym(handlesEx[i], "deinitBaseExModule"); 
    553553                        if (deinit != NULL) 
    554554                                deinit(); 
     
    570570                        return false; 
    571571 
    572                 init = (initExModule)dlsym(handlesEx[i], "initExModule"); 
     572                init = (initBaseExModule)dlsym(handlesEx[i], "initBaseExModule"); 
    573573                if (init == NULL) 
    574574                        return false; 
     
    606606                return false; 
    607607 
    608         initExModule init = (initExModule)dlsym(handler, "initExModule"); 
     608        initBaseExModule init = (initBaseExModule)dlsym(handler, "initBaseExModule"); 
    609609        if (init == NULL) 
    610610                return false; 
    611611 
    612         __exMod mod = init(toInit); 
    613  
    614         deinitExModule deinit; 
     612        __baseExMod mod = init(toInit); 
     613 
     614        deinitBaseExModule deinit; 
    615615 
    616616        if (handlesOpenedEx[mod.module]) 
    617617        { 
    618                 deinit = (deinitExModule)dlsym(handlesEx[mod.module], "deinitExModule"); 
     618                deinit = (deinitBaseExModule)dlsym(handlesEx[mod.module], "deinitBaseExModule"); 
    619619                if (deinit != NULL) 
    620620                        deinit(); 
     
    645645//------------------------------------------------------------------- 
    646646 
    647 __exMod 
     647__baseExMod 
    648648baseEx::getModuleInfo(const dodoString &module, 
    649649                                          void *toInit) 
     
    657657#endif 
    658658        if (handle == NULL) 
    659                 return __exMod(); 
    660  
    661         initExModule init = (initExModule)dlsym(handle, "initExModule"); 
     659                return __baseExMod(); 
     660 
     661        initBaseExModule init = (initBaseExModule)dlsym(handle, "initBaseExModule"); 
    662662        if (init == NULL) 
    663                 return __exMod(); 
    664  
    665         __exMod mod = init(toInit); 
     663                return __baseExMod(); 
     664 
     665        __baseExMod mod = init(toInit); 
    666666         
    667667#ifndef DL_FAST 
  • trunk/src/cgiFastServer.cc

    r807 r809  
    117117 
    118118                if (res == -1) 
    119                         throw baseEx(ERRMODULE_CGIFASTSERVER, FASTSERVEREX_STACKTHREAD, ERR_LIBDODO, FASTSERVEREX_ACCEPTFAILED, CGIFASTSERVEREX_ACCEPTFAILED_STR, __LINE__, __FILE__); 
     119                        throw baseEx(ERRMODULE_CGIFASTSERVER, SERVEREX_STACKTHREAD, ERR_LIBDODO, SERVEREX_ACCEPTFAILED, CGIFASTSERVEREX_ACCEPTFAILED_STR, __LINE__, __FILE__); 
    120120 
    121121                handler(&cfSTD); 
     
    135135{ 
    136136        if (!isFastCgi()) 
    137                 throw baseEx(ERRMODULE_CGIFASTSERVER, FASTSERVEREX_LISTEN, ERR_LIBDODO, FASTSERVEREX_ISCGI, CGIFASTSERVEREX_ISCGI_STR, __LINE__, __FILE__); 
     137                throw baseEx(ERRMODULE_CGIFASTSERVER, SERVEREX_LISTEN, ERR_LIBDODO, SERVEREX_ISCGI, CGIFASTSERVEREX_ISCGI_STR, __LINE__, __FILE__); 
    138138 
    139139#ifdef PTHREAD_EXT 
     
    163163                { 
    164164                        if (FCGX_Accept_r(&request) == -1) 
    165                                 throw baseEx(ERRMODULE_CGIFASTSERVER, FASTSERVEREX_LISTEN, ERR_LIBDODO, FASTSERVEREX_ACCEPTFAILED, CGIFASTSERVEREX_ACCEPTFAILED_STR, __LINE__, __FILE__); 
     165                                throw baseEx(ERRMODULE_CGIFASTSERVER, SERVEREX_LISTEN, ERR_LIBDODO, SERVEREX_ACCEPTFAILED, CGIFASTSERVEREX_ACCEPTFAILED_STR, __LINE__, __FILE__); 
    166166 
    167167                        handler(&cfSTD); 
  • trunk/src/ipcProcessCollection.cc

    r807 r809  
    5252 
    5353#ifdef DL_EXT 
    54         deinitSystemProcessCollectionModule deinit; 
     54        deinitIpcProcessCollectionModule deinit; 
    5555#endif 
    5656 
     
    6262                switch (i->action) 
    6363                { 
    64                         case COLLECTION_KEEP_ALIVE: 
     64                        case COLLECTION_ONDESTRUCT_KEEP_ALIVE: 
    6565 
    6666                                waitpid(i->pid, NULL, WNOHANG); 
     
    6868                                break; 
    6969 
    70                         case COLLECTION_STOP: 
     70                        case COLLECTION_ONDESTRUCT_STOP: 
    7171 
    7272                                kill(i->pid, 2); 
     
    7474                                break; 
    7575 
    76                         case COLLECTION_WAIT: 
     76                        case COLLECTION_ONDESTRUCT_WAIT: 
    7777                        default: 
    7878 
     
    8484                if (i->handle != NULL) 
    8585                { 
    86                         deinit = (deinitSystemProcessCollectionModule)dlsym(i->handle, "deinitSystemProcessCollectionModule"); 
     86                        deinit = (deinitIpcProcessCollectionModule)dlsym(i->handle, "deinitIpcProcessCollectionModule"); 
    8787                        if (deinit != NULL) 
    8888                                deinit(); 
     
    128128                                         void    *data) 
    129129{ 
    130         return add(func, data, COLLECTION_WAIT); 
     130        return add(func, data, COLLECTION_ONDESTRUCT_WAIT); 
    131131} 
    132132 
     
    137137                                                 void    *data) 
    138138{ 
    139         return addNRun(func, data, 1, COLLECTION_WAIT); 
     139        return addNRun(func, data, 1, COLLECTION_ONDESTRUCT_WAIT); 
    140140} 
    141141 
     
    207207                if (current->handle != NULL) 
    208208                { 
    209                         deinitSystemProcessCollectionModule deinit; 
    210  
    211                         deinit = (deinitSystemProcessCollectionModule)dlsym(current->handle, "deinitSystemProcessCollectionModule"); 
     209                        deinitIpcProcessCollectionModule deinit; 
     210 
     211                        deinit = (deinitIpcProcessCollectionModule)dlsym(current->handle, "deinitIpcProcessCollectionModule"); 
    212212                        if (deinit != NULL) 
    213213                                deinit(); 
     
    294294                if (current->handle != NULL) 
    295295                { 
    296                         deinitSystemProcessCollectionModule deinit; 
    297  
    298                         deinit = (deinitSystemProcessCollectionModule)dlsym(current->handle, "deinitSystemProcessCollectionModule"); 
     296                        deinitIpcProcessCollectionModule deinit; 
     297 
     298                        deinit = (deinitIpcProcessCollectionModule)dlsym(current->handle, "deinitIpcProcessCollectionModule"); 
    299299                        if (deinit != NULL) 
    300300                                deinit(); 
     
    501501#ifdef DL_EXT 
    502502 
    503 __collectionMod 
     503__processMod 
    504504collection::getModuleInfo(const dodoString &module, 
    505505                                                           void             *toInit) 
     
    513513                throw baseEx(ERRMODULE_IPCPROCESSCOLLECTION, COLLECTIONEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    514514 
    515         initSystemProcessCollectionModule init = (initSystemProcessCollectionModule)dlsym(handle, "initSystemProcessCollectionModule"); 
     515        initIpcProcessCollectionModule init = (initIpcProcessCollectionModule)dlsym(handle, "initIpcProcessCollectionModule"); 
    516516        if (init == NULL) 
    517517                throw baseEx(ERRMODULE_IPCPROCESSCOLLECTION, COLLECTIONEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    518518 
    519         __collectionMod mod = init(toInit); 
     519        __processMod mod = init(toInit); 
    520520         
    521521#ifndef DL_FAST 
     
    547547                throw baseEx(ERRMODULE_IPCPROCESSCOLLECTION, COLLECTIONEX_ADD, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    548548 
    549         initSystemProcessCollectionModule init = (initSystemProcessCollectionModule)dlsym(process.handle, "initSystemProcessCollectionModule"); 
     549        initIpcProcessCollectionModule init = (initIpcProcessCollectionModule)dlsym(process.handle, "initIpcProcessCollectionModule"); 
    550550        if (init == NULL) 
    551551                throw baseEx(ERRMODULE_IPCPROCESSCOLLECTION, COLLECTIONEX_ADD, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    552552 
    553         __collectionMod temp = init(toInit); 
     553        __processMod temp = init(toInit); 
    554554 
    555555        job::routine in = (job::routine)dlsym(process.handle, temp.hook); 
  • trunk/src/ipcProcessSharedDataCollectionGuard.cc

    r807 r809  
    5050        raceHazardGuard tg(this); 
    5151 
    52         ipc::shared::__shareInfo share; 
     52        ipc::shared::__info share; 
    5353 
    5454        share.position = ++shareNum; 
     
    105105dataCollectionGuard::getShare(unsigned long position) 
    106106{ 
    107         dodoList<ipc::shared::__shareInfo>::const_iterator i(shares.begin()), j(shares.end()); 
     107        dodoList<ipc::shared::__info>::const_iterator i(shares.begin()), j(shares.end()); 
    108108        for (; i != j; ++i) 
    109109                if (i->position == position) 
    110110                { 
    111                         current = *((dodoList<ipc::shared::__shareInfo>::iterator *) & i); 
     111                        current = *((dodoList<ipc::shared::__info>::iterator *) & i); 
    112112 
    113113                        return true; 
     
    124124        dodoList<unsigned long> ids; 
    125125 
    126         dodoList<ipc::shared::__shareInfo>::const_iterator i(shares.begin()), j(shares.end()); 
     126        dodoList<ipc::shared::__info>::const_iterator i(shares.begin()), j(shares.end()); 
    127127        for (; i != j; ++i) 
    128128                ids.push_back(i->position); 
  • trunk/src/ipcThreadCollection.cc

    r807 r809  
    7171 
    7272#ifdef DL_EXT 
    73         deinitSystemThreadCollectionModule deinit; 
     73        deinitIpcThreadCollectionModule deinit; 
    7474#endif 
    7575 
     
    8181                switch (i->action) 
    8282                { 
    83                         case COLLECTION_KEEP_ALIVE: 
     83                        case COLLECTION_ONDESTRUCT_KEEP_ALIVE: 
    8484 
    8585#ifdef PTHREAD_EXT 
     
    9191                                break; 
    9292 
    93                         case COLLECTION_STOP: 
     93                        case COLLECTION_ONDESTRUCT_STOP: 
    9494 
    9595#ifdef PTHREAD_EXT 
     
    101101                                break; 
    102102 
    103                         case COLLECTION_WAIT: 
     103                        case COLLECTION_ONDESTRUCT_WAIT: 
    104104                        default: 
    105105 
     
    117117                if (i->handle != NULL) 
    118118                { 
    119                         deinit = (deinitSystemThreadCollectionModule)dlsym(i->handle, "deinitSystemThreadCollectionModule"); 
     119                        deinit = (deinitIpcThreadCollectionModule)dlsym(i->handle, "deinitIpcThreadCollectionModule"); 
    120120                        if (deinit != NULL) 
    121121                                deinit(); 
     
    136136                                   void    *data) 
    137137{ 
    138         return add(func, data, false, COLLECTION_WAIT, 2097152); 
     138        return add(func, data, false, COLLECTION_ONDESTRUCT_WAIT, 2097152); 
    139139} 
    140140 
     
    211211                if (current->handle != NULL) 
    212212                { 
    213                         deinitSystemThreadCollectionModule deinit; 
    214  
    215                         deinit = (deinitSystemThreadCollectionModule)dlsym(current->handle, "deinitSystemThreadCollectionModule"); 
     213                        deinitIpcThreadCollectionModule deinit; 
     214 
     215                        deinit = (deinitIpcThreadCollectionModule)dlsym(current->handle, "deinitIpcThreadCollectionModule"); 
    216216                        if (deinit != NULL) 
    217217                                deinit(); 
     
    265265                if (current->handle != NULL) 
    266266                { 
    267                         deinitSystemThreadCollectionModule deinit; 
    268  
    269                         deinit = (deinitSystemThreadCollectionModule)dlsym(current->handle, "deinitSystemThreadCollectionModule"); 
     267                        deinitIpcThreadCollectionModule deinit; 
     268 
     269                        deinit = (deinitIpcThreadCollectionModule)dlsym(current->handle, "deinitIpcThreadCollectionModule"); 
    270270                        if (deinit != NULL) 
    271271                                deinit(); 
     
    528528#ifdef DL_EXT 
    529529 
    530 __collectionMod 
     530__threadMod 
    531531collection::getModuleInfo(const dodoString &module, 
    532532                                                         void             *toInit) 
     
    540540                throw baseEx(ERRMODULE_IPCTHREADCOLLECTION, COLLECTIONEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    541541 
    542         initSystemThreadCollectionModule init = (initSystemThreadCollectionModule)dlsym(handle, "initSystemThreadCollectionModule"); 
     542        initIpcThreadCollectionModule init = (initIpcThreadCollectionModule)dlsym(handle, "initIpcThreadCollectionModule"); 
    543543        if (init == NULL) 
    544544                throw baseEx(ERRMODULE_IPCTHREADCOLLECTION, COLLECTIONEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    545545 
    546         __collectionMod mod = init(toInit); 
     546        __threadMod mod = init(toInit); 
    547547 
    548548#ifndef DL_FAST 
     
    574574                throw baseEx(ERRMODULE_IPCTHREADCOLLECTION, COLLECTIONEX_ADD, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    575575 
    576         initSystemThreadCollectionModule init = (initSystemThreadCollectionModule)dlsym(thread.handle, "initSystemThreadCollectionModule"); 
     576        initIpcThreadCollectionModule init = (initIpcThreadCollectionModule)dlsym(thread.handle, "initIpcThreadCollectionModule"); 
    577577        if (init == NULL) 
    578578                throw baseEx(ERRMODULE_IPCTHREADCOLLECTION, COLLECTIONEX_ADD, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    579579 
    580         __collectionMod temp = init(toInit); 
     580        __threadMod temp = init(toInit); 
    581581 
    582582        job::routine in = (job::routine)dlsym(thread.handle, temp.hook); 
     
    624624                                           void    *data) 
    625625{ 
    626         return addNRun(func, data, 1, false, COLLECTION_WAIT, 2097152); 
     626        return addNRun(func, data, 1, false, COLLECTION_ONDESTRUCT_WAIT, 2097152); 
    627627} 
    628628 
  • trunk/src/ipcThreadSharedDataCollectionGuard.cc

    r807 r809  
    5050        raceHazardGuard tg(this); 
    5151 
    52         ipc::shared::__shareInfo share; 
     52        ipc::shared::__info share; 
    5353 
    5454        share.position = ++shareNum; 
     
    105105dataCollectionGuard::getShare(unsigned long position) 
    106106{ 
    107         dodoList<ipc::shared::__shareInfo>::const_iterator i(shares.begin()), j(shares.end()); 
     107        dodoList<ipc::shared::__info>::const_iterator i(shares.begin()), j(shares.end()); 
    108108        for (; i != j; ++i) 
    109109                if (i->position == position) 
    110110                { 
    111                         current = *((dodoList<ipc::shared::__shareInfo>::iterator *) & i); 
     111                        current = *((dodoList<ipc::shared::__info>::iterator *) & i); 
    112112 
    113113                        return true; 
     
    125125        dodoList<unsigned long> ids; 
    126126 
    127         dodoList<ipc::shared::__shareInfo>::const_iterator i(shares.begin()), j(shares.end()); 
     127        dodoList<ipc::shared::__info>::const_iterator i(shares.begin()), j(shares.end()); 
    128128        for (; i != j; ++i) 
    129129                ids.push_back(i->position); 
  • trunk/src/toolsNetwork.cc

    r799 r809  
    137137//------------------------------------------------------------------- 
    138138 
    139 __servInfo 
     139__serviceInfo 
    140140network::getServiceInfo(const dodoString &host, 
    141141                                                          const dodoString &protocol) 
     
    143143        servent *ent = getservbyname(host.c_str(), protocol.c_str()); 
    144144 
    145         __servInfo info; 
     145        __serviceInfo info; 
    146146 
    147147        if (ent == NULL) 
     
    161161//------------------------------------------------------------------- 
    162162 
    163 __servInfo 
     163__serviceInfo 
    164164network::getServiceInfo(int port, 
    165165                                                          const dodoString &protocol) 
     
    167167        servent *ent = getservbyport(port, protocol.c_str()); 
    168168 
    169         __servInfo info; 
     169        __serviceInfo info; 
    170170 
    171171        if (ent == NULL) 
     
    187187//------------------------------------------------------------------- 
    188188 
    189 __ifInfo 
     189__interfaceInfo 
    190190network::getInterfaceInfo(const dodoString &interface) 
    191191{ 
     
    197197        strcpy(ifr.ifr_name, interface.c_str()); 
    198198 
    199         __ifInfo info; 
     199        __interfaceInfo info; 
    200200        char add[INET6_ADDRSTRLEN]; 
    201201 
  • trunk/src/toolsOs.cc

    r807 r809  
    785785#ifdef DL_EXT 
    786786 
    787         deinitSigModule deinit; 
     787        deinitOsSignalModule deinit; 
    788788 
    789789        int handleSignal = toSignalNumber(signal); 
    790790        if (handleSignal > 0 && handlesOpenedSig[handleSignal]) 
    791791        { 
    792                 deinit = (deinitSigModule)dlsym(handlesSig[handleSignal], "deinitSigModule"); 
     792                deinit = (deinitOsSignalModule)dlsym(handlesSig[handleSignal], "deinitOsSignalModule"); 
    793793                if (deinit != NULL) 
    794794                        deinit(); 
     
    828828#ifdef DL_EXT 
    829829 
    830         deinitSigModule deinit; 
     830        deinitOsSignalModule deinit; 
    831831 
    832832        int handleSignal = toSignalNumber(OS_SIGNAL_ALARM); 
    833833        if (handleSignal > 0 && handlesOpenedSig[handleSignal]) 
    834834        { 
    835                 deinit = (deinitSigModule)dlsym(handlesSig[handleSignal], "deinitSigModule"); 
     835                deinit = (deinitOsSignalModule)dlsym(handlesSig[handleSignal], "deinitOsSignalModule"); 
    836836                if (deinit != NULL) 
    837837                        deinit(); 
     
    888888#ifdef DL_EXT 
    889889 
    890         deinitSigModule deinit; 
     890        deinitOsSignalModule deinit; 
    891891 
    892892        int handleSignal = toSignalNumber(OS_SIGNAL_ALARM); 
    893893        if (handleSignal > 0 && handlesOpenedSig[handleSignal]) 
    894894        { 
    895                 deinit = (deinitSigModule)dlsym(handlesSig[handleSignal], "deinitSigModule"); 
     895                deinit = (deinitOsSignalModule)dlsym(handlesSig[handleSignal], "deinitOsSignalModule"); 
    896896                if (deinit != NULL) 
    897897                        deinit(); 
     
    963963#ifdef DL_EXT 
    964964 
    965         deinitSigModule deinit; 
     965        deinitOsSignalModule deinit; 
    966966 
    967967        int handleSignal = toSignalNumber(signal); 
    968968        if (handleSignal > 0 && handlesOpenedSig[handleSignal]) 
    969969        { 
    970                 deinit = (deinitSigModule)dlsym(handlesSig[handleSignal], "deinitSigModule"); 
     970                deinit = (deinitOsSignalModule)dlsym(handlesSig[handleSignal], "deinitOsSignalModule"); 
    971971                if (deinit != NULL) 
    972972                        deinit(); 
     
    993993#ifdef DL_EXT 
    994994 
    995 __sigMod 
     995__signalMod 
    996996os::getModuleInfo(const dodoString &module, 
    997997                                                   void             *toInit) 
     
    10051005                throw baseEx(ERRMODULE_TOOLSOS, OSEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    10061006 
    1007         initSigModule init = (initSigModule)dlsym(handle, "initSigModule"); 
     1007        initOsSignalModule init = (initOsSignalModule)dlsym(handle, "initOsSignalModule"); 
    10081008        if (init == NULL) 
    10091009                throw baseEx(ERRMODULE_TOOLSOS, OSEX_GETMODULEINFO, ERR_DYNLOAD, 0, dlerror(), __LINE__, __FILE__); 
    10101010 
    1011         __sigMod mod = init(toInit); 
     1011        __signalMod mod = init(toInit); 
    10121012 
    10131013#ifndef DL_FAST 
     
    10351035                throw baseEx(ERRMODULE_TOOLSOS, OSEX_SETSIGNALHANDLER, ERR_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    10361036 
    1037         initSigModule init = (initSigModule)dlsym(handle, "initSigModule"); 
     1037        initOsSignalModule init = (initOsSignalModule)dlsym(handle, "initOsSignalModule"); 
    10381038        if (init == NULL) 
    10391039                throw baseEx(ERRMODULE_TOOLSOS, OSEX_SETSIGNALHANDLER, ERR_ERRNO, errno, strerror(errno), __LINE__, __FILE__); 
    10401040 
    1041         __sigMod mod = init(toInit); 
    1042  
    1043         deinitSigModule deinit; 
     1041        __signalMod mod = init(toInit); 
     1042 
     1043        deinitOsSignalModule deinit; 
    10441044 
    10451045        int handleSignal = toSignalNumber(mod.signal); 
    10461046        if (handleSignal > 0 && handlesOpenedSig[handleSignal]) 
    10471047        { 
    1048                 deinit = (deinitSigModule)dlsym(handlesSig[handleSignal], "deinitSigModule"); 
     1048                deinit = (deinitOsSignalModule)dlsym(handlesSig[handleSignal], "deinitOsSignalModule"); 
    10491049                if (deinit != NULL) 
    10501050                        deinit(); 
  • trunk/src/xexec.cc

    r676 r809  
    4343        deinitXexecModule deinit; 
    4444 
    45         dodoList<__execItem>::iterator i(preExec.exec.begin()), j(preExec.exec.end()); 
     45        dodoList<__xexecItem>::iterator i(preExec.exec.begin()), j(preExec.exec.end()); 
    4646        for (; i != j; ++i) 
    4747        { 
     
    8080 
    8181int 
    82 xexec::addXExec(dodoList<__execItem> &list, 
     82xexec::addXExec(dodoList<__xexecItem> &list, 
    8383                                inExec func, 
    8484                                void                  *obj, 
     
    8686                                void                  *data) 
    8787{ 
    88         __execItem temp; 
     88        __xexecItem temp; 
    8989 
    9090        temp.data = data; 
     
    107107 
    108108void 
    109 xexec::setStatXExec(dodoList<__execItem> &list, 
     109xexec::setStatXExec(dodoList<__xexecItem> &list, 
    110110                                        int position, 
    111111                                        bool stat) 
     
    118118 
    119119void 
    120 xexec::delXExec(dodoList<__execItem> &list, 
     120xexec::delXExec(dodoList<__xexecItem> &list, 
    121121                                int position) 
    122122{ 
     
    320320 
    321321void 
    322 xexec::replaceXExec(dodoList<__execItem> &list, 
     322xexec::replaceXExec(dodoList<__xexecItem> &list, 
    323323                                        int position, 
    324324                                        inExec func, 
     
    361361//------------------------------------------------------------------- 
    362362void 
    363 xexec::performXExec(__execItemList &list) const 
     363xexec::performXExec(__xexecItemList &list) const 
    364364{ 
    365365        if (list.execDisabled) 
    366366                return ; 
    367367 
    368         dodoList<__execItem>::iterator i(list.exec.begin()), j(list.exec.end()); 
     368        dodoList<__xexecItem>::iterator i(list.exec.begin()), j(list.exec.end()); 
    369369 
    370370        for (; i != j; ++i) 
     
    397397 
    398398int 
    399 xexec::addXExecModule(dodoList<__execItem> &list, 
     399xexec::addXExecModule(dodoList<__xexecItem> &list, 
    400400                                          const dodoString &module, 
    401401                                          void                  *obj, 
     
    404404                                          void                  *toInit) 
    405405{ 
    406         __execItem temp; 
     406        __xexecItem temp; 
    407407 
    408408        temp.data = data; 
     
    496496                                void             *toInit) 
    497497{ 
    498         __execItem temp; 
     498        __xexecItem temp; 
    499499 
    500500        temp.data = data; 
     
    564564 
    565565bool 
    566 xexec::getXexec(dodoList<__execItem> &list, 
     566xexec::getXexec(dodoList<__xexecItem> &list, 
    567567                                int position) 
    568568{ 
    569         dodoList<__execItem>::iterator i(list.begin()), j(list.end()); 
     569        dodoList<__xexecItem>::iterator i(list.begin()), j(list.end()); 
    570570        for (; i != j; ++i) 
    571571                if (i->position == position) 
  • trunk/tests/iostd_test/test.cc

    r806 r809  
    6060                st.flush(); 
    6161                 
     62#ifndef IOSTDIO_WO_XEXEC 
     63 
     64                st.disablePreExec(pos); 
     65 
     66#endif 
    6267                dodoString o; 
    6368                 
     
    6873                 
    6974                cout << o.size() << "\n"; 
    70                  
    71 #ifndef IOSTDIO_WO_XEXEC 
    72  
    73                 st.disablePreExec(pos); 
    74  
    75 #endif 
     75                cout << o << "\n"; 
    7676         
    7777                st.outSize = 4; 
    7878                st.writeString("1234567890"); 
    79                 st.writeString("\n"); 
     79                st.writeStreamString("\n"); 
    8080 
    8181                st.writeStreamString(o); 
  • trunk/tests/toolsmisc_test/module.cc

    r806 r809  
    1717        } 
    1818         
    19         __exMod  
    20         initExModule(void *data) 
     19        __baseExMod  
     20        initBaseExModule(void *data) 
    2121        { 
    22                 __exMod module; 
     22                __baseExMod module; 
    2323                 
    2424                strcpy(module.name,"test"); 
     
    3131 
    3232        void 
    33         deinitExModule() 
     33        deinitBaseExModule() 
    3434        { 
    3535                std::cout << "deactivation."; 
Note: See TracChangeset for help on using the changeset viewer.