conga/ricci common/ClientSocket.cpp common/Exc ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-08-10 22:53:09
Modified files:
ricci/common : ClientSocket.cpp Except.cpp Logger.cpp
Module.cpp Random.cpp ServerSocket.cpp Socket.cpp Thread.cpp Time.cpp Variable.cpp XML.cpp executils.cpp executils_test.cpp utils.cpp
ricci/include : APIerror.h Except.h Logger.h Module.h Socket.h
Time.h Variable.h XML.h XML_tags.h executils.h utils.h
ricci/modules/cluster: ClusterConf.cpp ClusterModule.cpp
ClusterStatus.cpp Clusvcadm.cpp Clusvcadm.h Fence.cpp Fence.h main.cpp
ricci/modules/cluster/clumon/src/cim-provider:
ClusterProvider.cpp
ricci/modules/cluster/clumon/src/common: Cluster.cpp
ClusterMonitor.cpp Node.cpp Service.cpp
ricci/modules/cluster/clumon/src/daemon: Communicator.cpp
Communicator.h Monitor.cpp Monitor.h Peer.cpp Peer.h main.cpp
ricci/modules/cluster/clumon/src/include: Cluster.h
ClusterMonitor.h
ricci/modules/cluster/clumon/src/snmp-agent: clusterMIB.cpp
nodesMIB_access.cpp servicesMIB_access.cpp
ricci/modules/log: LogParser.cpp LogParser.h LoggingModule.cpp
main.cpp
ricci/modules/rpm: PackageHandler.cpp PackageHandler.h
RpmModule.cpp main.cpp
ricci/modules/service: ServiceManager.cpp ServiceManager.h
ServiceModule.cpp main.cpp
ricci/modules/storage: BD.cpp BD.h BDFactory.cpp BDFactory.h
ClusterNotQuorateError.h ClvmdError.h Content.cpp Content.h ContentExtendedPartition.cpp ContentExtendedPartition.h ContentFS.cpp ContentFS.h ContentFactory.cpp ContentFactory.h ContentNone.cpp ContentNone.h ContentUnusable.cpp ContentUnusable.h ExtendedFS.cpp ExtendedFS.h FSController.cpp FSController.h HD.cpp HD.h LV.cpp LV.h LVM.cpp LVM.h MDRaid.cpp MDRaid.h MDRaidSource.cpp MDRaidSource.h MDRaidTarget.cpp MDRaidTarget.h Mapper.cpp Mapper.h MapperFactory.cpp MapperFactory.h MapperSource.cpp MapperSource.h MountHandler.cpp MountHandler.h PTSource.cpp PTSource.h PV.cpp PV.h Partition.cpp Partition.h PartitionTable.cpp PartitionTable.h Props.cpp Props.h StorageModule.cpp SwapFS.cpp SwapFS.h System.cpp System.h UMountError.h VG.cpp VG.h defines.h main.cpp mdadm_wrapper.cpp mdadm_wrapper.h parted_wrapper.cpp parted_wrapper.h
ricci/ricci : Auth.cpp Auth.h ClientInstance.cpp
DBusController.cpp DBusController.h QueueLocker.cpp Ricci.cpp Ricci.h RicciWorker.cpp RicciWorker.h SSLInstance.cpp SSLInstance.h Server.cpp auth_helper.cpp dbus_test.cpp main.cpp
Added files:
ricci/include : shred_allocator.h
Log message:
ricci: shred temp files and memory used for strings that are exchanged with clients (includes root password)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/ClientSocket.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Except.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Logger.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Module.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Random.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/ServerSocket.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Socket.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Thread.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Time.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Variable.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/XML.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/executils.cpp.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/executils_test.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/utils.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/shred_allocator.h.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/APIerror.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Except.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Logger.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Module.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Socket.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Time.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Variable.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/XML.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/XML_tags.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/executils.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/utils.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterConf.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterModule.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterStatus.cpp.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Clusvcadm.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Clusvcadm.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Fence.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Fence.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/main.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/cim-provider/ClusterProvider.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Cluster.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Node.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Service.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Communicator.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Communicator.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Peer.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Peer.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/main.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/include/Cluster.h.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/include/ClusterMonitor.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/snmp-agent/clusterMIB.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/snmp-agent/nodesMIB_access.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/snmp-agent/servicesMIB_access.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/LogParser.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/LogParser.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/LoggingModule.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/main.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/PackageHandler.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/PackageHandler.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/RpmModule.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/main.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ServiceManager.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ServiceManager.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ServiceModule.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/main.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/BD.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/BD.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/BDFactory.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/BDFactory.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ClusterNotQuorateError.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ClvmdError.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Content.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Content.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentExtendedPartition.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentExtendedPartition.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFS.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFS.h.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFactory.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFactory.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentNone.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentNone.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentUnusable.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentUnusable.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ExtendedFS.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ExtendedFS.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/HD.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/HD.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/LV.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/LV.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/LVM.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/LVM.h.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaid.cpp.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaid.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaidSource.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaidSource.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaidTarget.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaidTarget.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Mapper.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Mapper.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MapperFactory.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MapperFactory.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MapperSource.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MapperSource.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MountHandler.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MountHandler.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PTSource.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PTSource.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PV.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PV.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Partition.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Partition.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PartitionTable.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PartitionTable.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Props.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Props.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/StorageModule.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/SwapFS.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/SwapFS.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/System.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/System.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/UMountError.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/VG.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/VG.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/defines.h.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/main.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/mdadm_wrapper.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/mdadm_wrapper.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/parted_wrapper.cpp.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/parted_wrapper.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Auth.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Auth.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/ClientInstance.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/DBusController.cpp.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/DBusController.h.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/QueueLocker.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.cpp.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.h.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/RicciWorker.cpp.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/RicciWorker.h.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/SSLInstance.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/SSLInstance.h.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Server.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/auth_helper.cpp.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/dbus_test.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/main.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
ricci/common/ClientSocket.cpp +22 -22
@@ -29,7 +29,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#include <string.h> +#include <String.h> #include <netdb.h>
@@ -43,12 +43,12 @@ _addr(addr) {} -ClientSocket::ClientSocket(const std::string& sock_path) : +ClientSocket::ClientSocket(const String& sock_path) : Socket(-1) { _sock = socket(PF_UNIX, SOCK_STREAM, 0); if (_sock == -1) - throw std::string("ClientSocket(string): socket() failed"); + throw String("ClientSocket(String): socket() failed"); struct sockaddr_un { sa_family_t sun_family;
@@ -58,24 +58,24 @@ memcpy(addr.sun_path, sock_path.c_str(), sock_path.size()+1); if (connect(_sock, (struct sockaddr*) &addr, sizeof(addr))) { - throw std::string("ClientSocket(string): connect() failed"); + throw String("ClientSocket(String): connect() failed"); } - // std::string msg = std::string("created client socket ") + _sock; + // String msg = String("created client socket ") + _sock; // msg += ", and connected to " + sock_path; // log(msg, LogSocket); } -ClientSocket::ClientSocket(const std::string& hostname, unsigned short port) : +ClientSocket::ClientSocket(const String& hostname, unsigned short port) : Socket(-1) { _sock = socket(PF_INET, SOCK_STREAM, 0); if (_sock == -1) - throw std::string("ClientSocket(hostname, port): socket() failed"); + throw String("ClientSocket(hostname, port): socket() failed"); struct hostent* ent = gethostbyname2(hostname.c_str(), AF_INET); if (!ent) - throw std::string("ClientSocket(hostname, port): gethostbyname() failed"); + throw String("ClientSocket(hostname, port): gethostbyname() failed"); char** addrs = ent->h_addr_list; for (int i=0; addrs[i]; i++) {
@@ -86,14 +86,14 @@ if (connect(_sock, (struct sockaddr*) &addr_in, sizeof(addr_in))) continue; else { - // std::string msg = std::string("created client socket ") + _sock; + // String msg = String("created client socket ") + _sock; // msg += ", and connected to " + hostname + ", port " + port; // log(msg, LogSocket); _addr = addr_in.sin_addr.s_addr; return; } } - throw std::string("ClientSocket(hostname, port): connect() failed"); + throw String("ClientSocket(hostname, port): connect() failed"); } ClientSocket::ClientSocket(const ClientSocket& s) :
@@ -116,7 +116,7 @@ bool -ClientSocket::connected_to(const std::string& hostname) +ClientSocket::connected_to(const String& hostname) { struct hostent* ent = gethostbyname2(hostname.c_str(), AF_INET); if (!ent)
@@ -129,11 +129,11 @@ return false; } -std::string +String ClientSocket::recv() { if (_sock == -1) - throw std::string("ClientSocket::recv(): socket already closed"); + throw String("ClientSocket::recv(): socket already closed"); while (true) { char buffer[1024];
@@ -143,25 +143,25 @@ continue; else if (errno == EAGAIN) return ""; - throw std::string("ClientSocket::recv(): recv error"); + throw String("ClientSocket::recv(): recv error"); } if (ret == 0) { close(); - throw std::string("ClientSocket::recv(): socket has been shutdown"); + throw String("ClientSocket::recv(): socket has been shutdown"); } - // log(std::string("received ") + ret + " bytes from socket " + _sock, + // log(String("received ") + ret + " bytes from socket " + _sock, // LogLevel(LogSocket|LogTransfer)); - return std::string(buffer, ret); + return String(buffer, ret); } } -std::string -ClientSocket::send(const std::string& msg) +String +ClientSocket::send(const String& msg) { if (_sock == -1) - throw std::string("ClientSocket::send(): socket already closed"); + throw String("ClientSocket::send(): socket already closed"); while (true) { int ret = ::send(_sock, msg.c_str(), msg.size(), 0);
@@ -171,10 +171,10 @@ else if (errno == EAGAIN || errno == EWOULDBLOCK) return msg; - throw std::string("ClientSocket::recv(): socket error"); + throw String("ClientSocket::recv(): socket error"); } - // log(std::string("sent ") + ret + " bytes thru socket " + _sock, + // log(String("sent ") + ret + " bytes thru socket " + _sock, // LogLevel(LogSocket|LogTransfer)); return msg.substr(ret); }
ricci/common/Except.cpp +3 -3
@@ -29,11 +29,11 @@ Except::Except(long long error_code, - const std::string& msg) : + const String& msg) : _code(error_code), _msg(msg) { if (_code == generic_error) - throw string("Exception() invalid error_code"); + throw String("Exception() invalid error_code"); } Except::~Except()
@@ -45,7 +45,7 @@ return _code; } -std::string +String Except::description() const { return _msg;
ricci/common/Logger.cpp +14 -14
@@ -30,7 +30,7 @@ #include <unistd.h> #include <errno.h> #include <stdlib.h> -#include <string.h> +#include "String.h" using namespace std;
@@ -44,8 +44,8 @@ _domain_c(NULL) {} -Logger::Logger(const std::string& filepath, - const std::string& domain, +Logger::Logger(const String& filepath, + const String& domain, LogLevel level) : _level(level) {
@@ -54,7 +54,7 @@ _domain_c = (char*) malloc(domain.size()+1); if (_domain_c == NULL) - throw string("Logger::Logger(): malloc() failed"); + throw String("Logger::Logger(): malloc() failed"); strcpy(_domain_c, c_str); _fd = open(path_c,
@@ -62,11 +62,11 @@ S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); if (_fd == -1) { free(_domain_c); - throw string("Logger::Logger(): open() failed"); + throw String("Logger::Logger(): open() failed"); } } -Logger::Logger(int fd, const std::string& domain, LogLevel level) : +Logger::Logger(int fd, const String& domain, LogLevel level) : _fd(fd), _level(level) {
@@ -75,7 +75,7 @@ _domain_c = (char*) malloc(domain.size()+1); if (_domain_c == NULL) { close_fd(); - throw string("Logger::Logger(): malloc() failed"); + throw String("Logger::Logger(): malloc() failed"); } strcpy(_domain_c, c_str); }
@@ -101,7 +101,7 @@ } void -Logger::log(const std::string& msg, LogLevel level) +Logger::log(const String& msg, LogLevel level) { log_sigsafe(msg.c_str(), level); }
@@ -139,24 +139,24 @@ // ### helper functions ### -std::string -operator+ (const std::string& s, int i) +String +operator+ (const String& s, int i) { char buff[128]; snprintf(buff, sizeof(buff), "%d", i); return s + buff; } -std::string -operator+ (int i, const std::string& s) +String +operator+ (int i, const String& s) { char buff[128]; snprintf(buff, sizeof(buff), "%d", i); - return string(buff) + s; + return String(buff) + s; } void -log(const std::string& msg, LogLevel level) +log(const String& msg, LogLevel level) { logger->log(msg, level); }
ricci/common/Module.cpp +25 -25
158 lines not on this page · raw message
ricci/common/Random.cpp +2 -2
@@ -26,7 +26,7 @@ #include "Time.h" #include <stdlib.h> -#include <string> +#include "String.h" static Mutex mutex;
@@ -42,7 +42,7 @@ int range = max - min; if (range <= 5) - throw std::string("random_generate(min, max): range too small"); + throw String("random_generate(min, max): range too small"); return (int) (min + range * ((double) rand_r(&seed))/RAND_MAX); }
ricci/common/ServerSocket.cpp +11 -11
@@ -30,18 +30,18 @@ #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> -#include <string.h> +#include "String.h" -ServerSocket::ServerSocket(const std::string& sock_path) : +ServerSocket::ServerSocket(const String& sock_path) : Socket(-1), _unix_sock(true), _sock_path(sock_path) { _sock = socket(PF_UNIX, SOCK_STREAM, 0); if (_sock == -1) { - std::string m = std::string("ServerSocket(sock_path=") + sock_path + "): socket() failed, errno=" + errno; + String m = String("ServerSocket(sock_path=") + sock_path + "): socket() failed, errno=" + errno; throw m; }
@@ -54,16 +54,16 @@ unlink(_sock_path.c_str()); if (bind(_sock, (struct sockaddr*) &addr, sizeof(addr))) { - std::string m = std::string("ServerSocket(sock_path=") + sock_path + "): bind() failed, errno=" + errno; + String m = String("ServerSocket(sock_path=") + sock_path + "): bind() failed, errno=" + errno; throw m; } if (listen(_sock, 5)) { - std::string m = std::string("ServerSocket(sock_path=") + sock_path + "): listen() failed, errno=" + errno; + String m = String("ServerSocket(sock_path=") + sock_path + "): listen() failed, errno=" + errno; throw m; } - std::string msg = std::string("created unix server socket, ") + _sock + ", " + sock_path; + String msg = String("created unix server socket, ") + _sock + ", " + sock_path; // log(msg, LogSocket); }
@@ -74,7 +74,7 @@ { _sock = socket(PF_INET, SOCK_STREAM, 0); if (_sock == -1) { - std::string m = std::string("ServerSocket(port=") + port + "): socket() failed, errno=" + errno; + String m = String("ServerSocket(port=") + port + "): socket() failed, errno=" + errno; throw m; }
@@ -83,16 +83,16 @@ addr.sin_port = htons(port); addr.sin_addr.s_addr = INADDR_ANY; if (bind(_sock, (struct sockaddr*) &addr, sizeof(addr))) { - std::string m = std::string("ServerSocket(port=") + port + "): bind() failed, errno=" + errno; + String m = String("ServerSocket(port=") + port + "): bind() failed, errno=" + errno; throw m; } if (listen(_sock, 5)) { - std::string m = std::string("ServerSocket(port=") + port + "): listen() failed, errno=" + errno; + String m = String("ServerSocket(port=") + port + "): listen() failed, errno=" + errno; throw m; } - std::string msg = std::string("created tcp server socket, ") + _sock + ", port " + port; + String msg = String("created tcp server socket, ") + _sock + ", port " + port; // log(msg, LogSocket); }
@@ -130,7 +130,7 @@ if (ret == -1) { if (errno == EINTR) continue; - throw std::string("ServerSocket(): accept() failed"); + throw String("ServerSocket(): accept() failed"); } // log("ServerSocket: accepted connection", LogSocket); return ClientSocket(ret, addr_in.sin_addr.s_addr);
ricci/common/Socket.cpp +12 -12
@@ -46,7 +46,7 @@ _counter = counting_auto_ptr<int>(new int(1)); } catch ( ... ) { close(); - throw std::string("Socket(int sock) failed"); + throw String("Socket(int sock) failed"); } }
@@ -85,7 +85,7 @@ Socket::close() { if (_sock != -1) { - log(std::string("closing socket ") + _sock, LogSocket); + log(String("closing socket ") + _sock, LogSocket); shutdown(_sock, SHUT_RDWR); int e; do {
@@ -112,10 +112,10 @@ Socket::nonblocking() { if (!valid()) - throw std::string("socket not valid"); + throw String("socket not valid"); int flags = fcntl(_sock, F_GETFL); if (flags == -1) - throw std::string("fcntl() failed"); + throw String("fcntl() failed"); return flags & O_NONBLOCK; }
@@ -123,17 +123,17 @@ Socket::nonblocking(bool mode) { if (!valid()) - throw std::string("socket not valid"); + throw String("socket not valid"); int old_flags = fcntl(_sock, F_GETFL); if (old_flags == -1) - throw std::string("fcntl() failed"); + throw String("fcntl() failed"); int new_flags; if (mode) new_flags = old_flags | O_NONBLOCK; else new_flags = old_flags & ~O_NONBLOCK; if (fcntl(_sock, F_SETFL, new_flags)) - throw std::string("fcntl() failed"); + throw String("fcntl() failed"); return old_flags & O_NONBLOCK; }
@@ -143,7 +143,7 @@ int timeout) { if (!valid()) - throw std::string("socket not valid"); + throw String("socket not valid"); poll_fd poll_data; poll_data.fd = _sock;
@@ -169,7 +169,7 @@ if (errno == EINTR) continue; else - throw std::string("poll() error"); + throw String("poll() error"); } else { if (poll_data.revents & POLLIN) read = true;
@@ -184,11 +184,11 @@ -std::vector<std::string> -name2IP(const std::string& hostname) +std::vector<String> +name2IP(const String& hostname) { char buff[INET_ADDRSTRLEN+1]; - std::vector<std::string> addrs; + std::vector<String> addrs; struct hostent* ent = gethostbyname2(hostname.c_str(), AF_INET); if (!ent) return addrs;
ricci/common/Thread.cpp +10 -10
@@ -23,7 +23,7 @@ #include "Thread.h" //#include "Logger.h" -#include <string> +#include "String.h"
@@ -45,7 +45,7 @@ Thread::~Thread() { - // log(std::string("entered destructor of thread ") + (int) _thread, LogThread); + // log(String("entered destructor of thread ") + (int) _thread, LogThread); Thread::stop(); }
@@ -61,7 +61,7 @@ _stop = false; } pthread_create(&_thread, NULL, start_thread, this); - // log(std::string("created thread ") + (int) _thread, LogThread); + // log(String("created thread ") + (int) _thread, LogThread); _running = true; } }
@@ -69,18 +69,18 @@ void Thread::stop() { - // log(std::string("entered Thread::stop() for thread ") + (int) _thread, LogThread); + // log(String("entered Thread::stop() for thread ") + (int) _thread, LogThread); MutexLocker l1(_main_mutex); if (_running) { { - // log(std::string("Thread::stop(): locking stop mutex for thread ") + (int) _thread, LogThread); + // log(String("Thread::stop(): locking stop mutex for thread ") + (int) _thread, LogThread); MutexLocker l2(_stop_mutex); _stop = true; } - // log(std::string("entering pthread_join() for thread ") + (int) _thread, LogThread); + // log(String("entering pthread_join() for thread ") + (int) _thread, LogThread); if (pthread_join(_thread, NULL)) - throw std::string("error stopping thread"); - // log(std::string("stopped thread ") + (int) _thread, LogThread); + throw String("error stopping thread"); + // log(String("stopped thread ") + (int) _thread, LogThread); _running = false; } }
@@ -88,7 +88,7 @@ bool Thread::running() { - // log(std::string("entered Thread::running() for thread ") + (int) _thread, LogThread); + // log(String("entered Thread::running() for thread ") + (int) _thread, LogThread); MutexLocker l1(_main_mutex); bool ret = _running; return ret;
@@ -97,7 +97,7 @@ bool Thread::shouldStop() { - // log(std::string("entered Thread::shouldStop() for thread ") + (int) _thread, LogThread); + // log(String("entered Thread::shouldStop() for thread ") + (int) _thread, LogThread); MutexLocker l(_stop_mutex); bool ret = _stop; return ret;
ricci/common/Time.cpp +2 -2
@@ -45,13 +45,13 @@ return t.tv_sec*1000 + t.tv_usec/1000; } -std::string +String time_formated() { char time[64]; time_t t = time_sec(); ctime_r(&t, time); - std::string m(time); + String m(time); return m.substr(0, m.size()-1); }
ricci/common/Variable.cpp +63 -63
391 lines not on this page · raw message
ricci/common/XML.cpp +18 -18
@@ -34,7 +34,7 @@ using namespace std; -XMLObject::XMLObject(const string& elem_name) : +XMLObject::XMLObject(const String& elem_name) : _tag(elem_name) {}
@@ -55,23 +55,23 @@ } bool -XMLObject::has_attr(const string& attr_name) const +XMLObject::has_attr(const String& attr_name) const { return _attrs.find(attr_name) != _attrs.end(); } -string -XMLObject::set_attr(const string& attr_name, const string& value) +String +XMLObject::set_attr(const String& attr_name, const String& value) { - string ret = _attrs[attr_name]; + String ret = _attrs[attr_name]; _attrs[attr_name] = value; return ret; } -string -XMLObject::get_attr(const string& attr_name) const +String +XMLObject::get_attr(const String& attr_name) const { - map<string, string>::const_iterator iter = _attrs.find(attr_name); + map<String, String>::const_iterator iter = _attrs.find(attr_name); if (iter == _attrs.end()) return ""; else
@@ -98,14 +98,14 @@ } void -XMLObject::generate_xml(string& xml, const string& indent) const +XMLObject::generate_xml(String& xml, const String& indent) const { xml += indent + "<" + _tag; - for (map<string, string>::const_iterator iter = attrs().begin(); + for (map<String, String>::const_iterator iter = attrs().begin(); iter != attrs().end(); iter++) { - const string& name = iter->first; - const string& value = iter->second; + const String& name = iter->first; + const String& value = iter->second; xml += " " + name + "=\"" + value + "\""; } if (children().empty())
@@ -163,7 +163,7 @@ } XMLObject -parseXML(const string& xml) +parseXML(const String& xml) { static bool initialized = false; if (!initialized) {
@@ -177,7 +177,7 @@ NULL, XML_PARSE_NONET); if (!doc) - throw string("parseXML(): couldn't parse xml"); + throw String("parseXML(): couldn't parse xml"); XMLObject root("if you see this, something wrong happened"); try {
@@ -187,14 +187,14 @@ } catch ( ... ) { xmlFreeDoc(doc); xmlCleanupParser(); - throw string("parseXML(): low memory"); + throw String("parseXML(): low memory"); } } -string +String generateXML(const XMLObject& obj) { - string xml("<?xml version=\"1.0\"?>\n"); + String xml("<?xml version=\"1.0\"?>\n"); obj.generate_xml(xml, ""); // verify xml
@@ -205,7 +205,7 @@ XML_PARSE_NONET); if (!doc) { // cout << xml << endl; - throw string("generateXML(): internal error"); + throw String("generateXML(): internal error"); } xmlFreeDoc(doc);
ricci/common/executils.cpp +10 -10
@@ -38,16 +38,16 @@ static void read_data(struct pollfd& poll_info, bool& fd_closed, - std::string& data); + String& data); static void close_fd(int fd); int -execute(const std::string& path, - const std::vector<std::string>& args, - std::string& out, - std::string& err, +execute(const String& path, + const std::vector<String>& args, + String& out, + String& err, int& status, int timeout) {
@@ -182,7 +182,7 @@ } // while (true) // command - std::string comm(path); + String comm(path); for (unsigned int i=0; i<args.size(); i++) comm += " " + args[i];
@@ -208,7 +208,7 @@ void read_data(struct pollfd& poll_info, bool& fd_closed, - std::string& data) + String& data) { int fd = poll_info.fd;
@@ -256,11 +256,11 @@ int main(int argc, char** argv) { - string out, err; + String out, err; int status; - vector<string> arguments; + vector<String> arguments; - string path; + String path; if (argc < 2) { cout << "enter path to execute: "; cin >> path;
ricci/common/executils_test.cpp +9 -9
@@ -16,7 +16,7 @@ #include <map> #include <vector> -#include <string> +#include "String.h" #include <iostream> #include <sys/poll.h> #include <stdlib.h>
@@ -42,12 +42,12 @@ { // set_logger(counting_auto_ptr<Logger>(new Logger(1, "executils_test", LogExecute))); - map<string, vector<string> > oracle; - oracle["/bin/cat"] = vector<string>(1, "/etc/cluster/cluster.conf"); - oracle["/sbin/magma_tool"] = vector<string>(1, "members"); - oracle["/usr/sbin/clustat"] = vector<string>(1, "-x"); - oracle["/sbin/ifconfig"] = vector<string>(); - // oracle["/bin/sleep"] = vector<string>(1, "4"); + map<String, vector<String> > oracle; + oracle["/bin/cat"] = vector<String>(1, "/etc/cluster/cluster.conf"); + oracle["/sbin/magma_tool"] = vector<String>(1, "members"); + oracle["/usr/sbin/clustat"] = vector<String>(1, "-x"); + oracle["/sbin/ifconfig"] = vector<String>(); + // oracle["/bin/sleep"] = vector<String>(1, "4"); setup_signal(SIGUSR1, nothing); setup_signal(SIGUSR2, nothing_2);
@@ -58,10 +58,10 @@ killer.start(); while (true) { - for (map<string, vector<string> >::iterator iter = oracle.begin(); + for (map<String, vector<String> >::iterator iter = oracle.begin(); iter != oracle.end(); iter++) { - string out, err; + String out, err; int status; execute(iter->first, iter->second, out, err, status);
ricci/common/utils.cpp +55 -55
260 lines not on this page · raw message
/cvs/cluster/conga/ricci/include/shred_allocator.h,v --> standard output revision 1.1
- renamed from ricci/include/shred_allocator.h +129 -0
129 lines not on this page · raw message
ricci/include/APIerror.h +2 -2
@@ -29,10 +29,10 @@ { public: APIerror() : msg("") {} - APIerror(const std::string& msg) : msg(msg) {} + APIerror(const String& msg) : msg(msg) {} virtual ~APIerror() {} - const std::string msg; +const String msg; };
ricci/include/Except.h +4 -4
@@ -24,7 +24,7 @@#ifndef Except_h#define Except_h -#include <string> +#include "String.h" class Except
@@ -33,17 +33,17 @@ virtual ~Except(); long long code() const; - std::string description() const; + String description() const; static const long long generic_error = -1; protected: Except(long long error_code, - const std::string& msg); + const String& msg); private: long long _code; - std::string _msg; + String _msg; };
ricci/include/Logger.h +8 -8
@@ -25,7 +25,7 @@#define Logger_h#include "counting_auto_ptr.h" -#include <string> +#include "String.h"
@@ -46,13 +46,13 @@ { public:Logger (); - Logger(const std::string& filepath, const std::string& domain, LogLevel level); - Logger(int fd, const std::string& domain, LogLevel level); + Logger(const String& filepath, const String& domain, LogLevel level); + Logger(int fd, const String& domain, LogLevel level); virtual ~Logger(); - void log(const std::string& msg, LogLevel level=LogBasic); + void log(const String& msg, LogLevel level=LogBasic); void log_sigsafe(const char* msg, LogLevel level=LogBasic); - void operator<< (const std::string& msg) { log(msg); } + void operator<< (const String& msg) { log(msg); } private:int _fd;
@@ -67,9 +67,9 @@// helper functions -std::string operator+ (const std::string&, int); -std::string operator+ (int, const std::string&); -void log(const std::string& msg, LogLevel level=LogBasic); +String operator+ (const String&, int); +String operator+ (int, const String&); +void log(const String& msg, LogLevel level=LogBasic); void log_sigsafe(const char* msg, LogLevel level=LogBasic); void set_logger(counting_auto_ptr<Logger>);
ricci/include/Module.h +4 -4
@@ -28,20 +28,20 @@#include "Variable.h" #include "APIerror.h" -#include <string> +#include "String.h" #include <list> #include <map> // name->variable map -typedef std::map<std::string, Variable> VarMap; +typedef std::map<String, Variable> VarMap;// name->function map -typedef std::map<std::string, +typedef std::map<String, VarMap (*)(const VarMap& args)> FcnMap;// api->name->function map -typedef std::map<std::string, FcnMap> ApiFcnMap; +typedef std::map<String, FcnMap> ApiFcnMap;class Module
ricci/include/Socket.h +9 -9
@@ -26,7 +26,7 @@#include "counting_auto_ptr.h" -#include <string> +#include "String.h" #include <vector>
@@ -34,7 +34,7 @@// provide external locking -std::vector<std::string> name2IP(const std::string& hostname); +std::vector<String> name2IP(const String& hostname);class Socket
@@ -72,20 +72,20 @@ { public:ClientSocket (); - ClientSocket(const std::string& sock_path); // UNIX socket - ClientSocket(const std::string& hostname, unsigned short port); // TCP socket + ClientSocket(const String& sock_path); // UNIX socket + ClientSocket(const String& hostname, unsigned short port); // TCP socket ClientSocket(const ClientSocket&); ClientSocket& operator= (const ClientSocket&); virtual ~ClientSocket(); - std::string recv(); - std::string send(const std::string& msg); // return what is left to send +String recv (); + String send(const String& msg); // return what is left to send void ready(bool& recv, bool& send, int timeout); virtual bool server() { return false; } - virtual bool connected_to(const std::string& hostname); + virtual bool connected_to(const String& hostname); protected:unsigned int _addr;
@@ -98,7 +98,7 @@ class ServerSocket : public Socket { public: - ServerSocket(const std::string& sock_path); // UNIX socket + ServerSocket(const String& sock_path); // UNIX socketServerSocket (unsigned short port);// TCP socket ServerSocket(const ServerSocket&); ServerSocket& operator= (const ServerSocket&);
@@ -112,7 +112,7 @@ private:bool _unix_sock; - std::string _sock_path; +String _sock_path; };// ServerSocket
ricci/include/Time.h +2 -2
@@ -24,7 +24,7 @@#ifndef Time_h#define Time_h -#include <string> +#include "String.h" // number of seconds since Epoch
@@ -38,7 +38,7 @@// sleep num seconds void sleep_sec (unsigned char num); -std::string time_formated(); +String time_formated ();#endif // Time_h
ricci/include/Variable.h +36 -36
177 lines not on this page · raw message
ricci/include/XML.h +14 -14
@@ -24,7 +24,7 @@#ifndef XML_h#define XML_h -#include <string> +#include "String.h" #include <map> #include <list>
@@ -33,18 +33,18 @@class XMLObject { public: - XMLObject(const std::string& elem_name = "TagName"); + XMLObject(const String& elem_name = "TagName"); virtual ~XMLObject(); - std::string tag() const + String tag() const {return _tag; };// attributes - bool has_attr(const std::string& attr_name) const; - std::string set_attr(const std::string& attr_name, - const std::string& value); // return old value - std::string get_attr(const std::string& attr_name) const; - const std::map<std::string, std::string>& attrs() const + bool has_attr(const String& attr_name) const; + String set_attr(const String& attr_name, + const String& value); // return old value + String get_attr(const String& attr_name) const; + const std::map<String, String>& attrs() const { return _attrs; }// kids
@@ -56,16 +56,16 @@ bool operator== (const XMLObject&) const; private: - std::string _tag; +String _tag; std::list<XMLObject> _kids; - std::map<std::string, std::string> _attrs; - void generate_xml(std::string& xml, const std::string& indent) const; - friend std::string generateXML(const XMLObject& obj); + std::map<String, String> _attrs; + void generate_xml(String& xml, const String& indent) const; + friend String generateXML(const XMLObject& obj); }; -XMLObject parseXML(const std::string& xml); -std::string generateXML(const XMLObject& obj); +XMLObject parseXML(const String& xml); +String generateXML(const XMLObject& obj);#endif // XML_h
ricci/include/XML_tags.h +18 -18
@@ -24,7 +24,7 @@#ifndef XML_tags_h#define XML_tags_h -#include <string> +#include "String.h"
@@ -33,29 +33,29 @@// ### Variable ### -#define VARIABLE_TAG std::string("var") +#define VARIABLE_TAG String("var") -#define VARIABLE_INT std::string("int") -#define VARIABLE_INT_SEL std::string("int_select") -#define VARIABLE_BOOL std::string("boolean") -#define VARIABLE_STR std::string("string") -#define VARIABLE_STR_SEL std::string("string_select") -#define VARIABLE_XML std::string("xml") -#define VARIABLE_LIST_STR std::string("list_str") -#define VARIABLE_LIST_INT std::string("list_int") -#define VARIABLE_LIST_XML std::string("list_xml") -#define VARIABLE_LISTENTRY std::string("listentry") +#define VARIABLE_INT String("int") +#define VARIABLE_INT_SEL String("int_select") +#define VARIABLE_BOOL String("boolean") +#define VARIABLE_STR String("string") +#define VARIABLE_STR_SEL String("string_select") +#define VARIABLE_XML String("xml") +#define VARIABLE_LIST_STR String("list_str") +#define VARIABLE_LIST_INT String("list_int") +#define VARIABLE_LIST_XML String("list_xml") +#define VARIABLE_LISTENTRY String("listentry") -#define REQUEST_TAG std::string("request") -#define RESPONSE_TAG std::string("response") -#define SEQUENCE_TAG std::string("sequence") +#define REQUEST_TAG String("request") +#define RESPONSE_TAG String("response") +#define SEQUENCE_TAG String("sequence") -#define FUNC_CALL_TAG std::string("function_call") -#define FUNC_RESPONSE_TAG std::string("function_response") +#define FUNC_CALL_TAG String("function_call") +#define FUNC_RESPONSE_TAG String("function_response") -#define MOD_VERSION_TAG std::string("API_version") +#define MOD_VERSION_TAG String("API_version")
ricci/include/executils.h +5 -5
@@ -24,15 +24,15 @@#ifndef executils_h#define executils_h -#include <string> +#include "String.h" #include <vector> // return 0 on success, non-zero on failure -int execute(const std::string& path, - const std::vector<std::string>& args, - std::string& out, - std::string& err, +int execute(const String& path, + const std::vector<String>& args, + String& out, + String& err, int& status, int timeout=-1 /* milliseconds,kill child after timeout has elapsed,
ricci/include/utils.h +34 -34
107 lines not on this page · raw message
ricci/modules/cluster/ClusterConf.cpp +16 -16
@@ -33,8 +33,8 @@ using namespace std; -#define CLUSTER_CONF_DIR string("/etc/cluster/") -#define CLUSTER_CONF_NAME string("cluster.conf") +#define CLUSTER_CONF_DIR String("/etc/cluster/") +#define CLUSTER_CONF_NAME String("cluster.conf") #define CLUSTER_CONF_PATH (CLUSTER_CONF_DIR + CLUSTER_CONF_NAME) #define CCS_TOOL_PATH "/sbin/ccs_tool"
@@ -53,7 +53,7 @@ is.seekg(0, ios::beg); buff = new char[length]; is.read(buff, length); - string cluster_conf(buff, length); + String cluster_conf(buff, length); XMLObject xml(parseXML(cluster_conf)); delete [] buff;
@@ -71,12 +71,12 @@ { // sanity check if (xml.tag() != "cluster") - throw string("invalid cluster.conf"); + throw String("invalid cluster.conf"); if (xml.get_attr("name").empty()) - throw string("invalid cluster.conf"); + throw String("invalid cluster.conf"); long long conf_version = utils::to_long(xml.get_attr("config_version")); if (conf_version == 0) - throw string("invalid cluster.conf"); + throw String("invalid cluster.conf"); // create dir, if not existing DIR* dir = opendir(CLUSTER_CONF_DIR.c_str());
@@ -86,13 +86,13 @@ if (errno == ENOENT) { if (mkdir(CLUSTER_CONF_DIR.c_str(), S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) - throw string("failed to create ") + CLUSTER_CONF_DIR; + throw String("failed to create ") + CLUSTER_CONF_DIR; } else - throw string("opendir() error"); + throw String("opendir() error"); } // save tmp cluster.conf - string tmp_path(CLUSTER_CONF_PATH + ".tmp_ricci"); + String tmp_path(CLUSTER_CONF_PATH + ".tmp_ricci"); fstream fs(tmp_path.c_str(), ios_base::out | ios_base::trunc); fs << generateXML(xml);
@@ -100,15 +100,15 @@ // propagate/move to proper place if (propagate) { try { - string out, err; + String out, err; int status; - vector<string> args; + vector<String> args; args.push_back("update"); args.push_back(tmp_path); if (utils::execute(CCS_TOOL_PATH, args, out, err, status, false)) - throw string("execute failed"); + throw String("execute failed"); if (status != 0) - throw string("ccs_tool failed"); + throw String("ccs_tool failed"); bool cman = false; for (list<XMLObject>::const_iterator iter = xml.children().begin();
@@ -122,9 +122,9 @@ args.push_back("-r"); args.push_back(utils::to_string(conf_version)); if (utils::execute(CMAN_TOOL_PATH, args, out, err, status, false)) - throw string("execute failed"); + throw String("execute failed"); if (status != 0) - throw string("cman_tool failed"); + throw String("cman_tool failed"); } unlink(tmp_path.c_str());
@@ -135,7 +135,7 @@ } else { if (rename(tmp_path.c_str(), CLUSTER_CONF_PATH.c_str())) { unlink(tmp_path.c_str()); - throw string("failed to rename cluster.conf"); + throw String("failed to rename cluster.conf"); } } }
ricci/modules/cluster/ClusterModule.cpp +13 -13
@@ -83,7 +83,7 @@ Variable var("status", Cluster::status()); VarMap ret; - ret.insert(pair<string, Variable>(var.name(), var)); + ret.insert(pair<String, Variable>(var.name(), var)); return ret; }
@@ -93,7 +93,7 @@ Variable var("cluster.conf", ClusterConf::get()); VarMap ret; - ret.insert(pair<string, Variable>(var.name(), var)); + ret.insert(pair<String, Variable>(var.name(), var)); return ret; }
@@ -112,7 +112,7 @@ iter = args.find("propagate"); if (iter != args.end()) propagate = iter->second.get_bool(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -125,13 +125,13 @@ VarMap service_stop(const VarMap& args) { - string name; + String name; try { VarMap::const_iterator iter = args.find("servicename"); if (iter == args.end()) throw APIerror("missing servicename variable"); name = iter->second.get_string(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -144,7 +144,7 @@ VarMap service_start(const VarMap& args) { - string service_name, node_name; + String service_name, node_name; try { VarMap::const_iterator iter = args.find("servicename"); if (iter == args.end())
@@ -154,7 +154,7 @@ iter = args.find("nodename"); if (iter != args.end()) node_name = iter->second.get_string(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -167,13 +167,13 @@ VarMap service_restart(const VarMap& args) { - string name; + String name; try { VarMap::const_iterator iter = args.find("servicename"); if (iter == args.end()) throw APIerror("missing servicename variable"); name = iter->second.get_string(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -186,13 +186,13 @@ VarMap fence_node(const VarMap& args) { - string name; + String name; try { VarMap::const_iterator iter = args.find("nodename"); if (iter == args.end()) throw APIerror("missing nodename variable"); name = iter->second.get_string(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -210,7 +210,7 @@ VarMap::const_iterator iter = args.find("cluster_startup"); if (iter != args.end()) cluster_startup = iter->second.get_bool(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
@@ -228,7 +228,7 @@ VarMap::const_iterator iter = args.find("cluster_shutdown"); if (iter != args.end()) cluster_shutdown = iter->second.get_bool(); - } catch ( string e ) { + } catch ( String e ) { throw APIerror(e); }
ricci/modules/cluster/ClusterStatus.cpp +18 -18
@@ -28,7 +28,7 @@ #include "Clusvcadm.h" #include "utils.h" -#include <string> +#include "String.h" using namespace std;
@@ -47,10 +47,10 @@ -static void run_initd(const string& servname, +static void run_initd(const String& servname, bool start, bool fail); -static void run_chkconfig(const string& servname, +static void run_chkconfig(const String& servname, bool on); static void cman_leave(); static void gulm_leave();
@@ -80,7 +80,7 @@ // send status request int beg = int(time_sec()); - string request("GET"); + String request("GET"); while ((int(time_sec()) < beg + 5)) { bool read = false, write = true; sock.ready(read, write, 500);
@@ -91,7 +91,7 @@ // receive status report beg = int(time_sec()); - string xml_in; + String xml_in; while ((int(time_sec()) < beg + 5)) { bool read = true, write = false; sock.ready(read, write, 500);
@@ -195,12 +195,12 @@ void -run_chkconfig(const string& servname, +run_chkconfig(const String& servname, bool on) { - string out, err; + String out, err; int status; - vector<string> args; + vector<String> args; args.push_back(servname); if (on) args.push_back("on");
@@ -210,16 +210,16 @@ } void -run_initd(const string& servname, +run_initd(const String& servname, bool start, bool fail) { - string path(INITD_DIR_PATH); + String path(INITD_DIR_PATH); path += servname; - string out, err; + String out, err; int status; - vector<string> args; + vector<String> args; if (start) args.push_back("start"); else
@@ -229,18 +229,18 @@ if (status == 0) failed = false; if (fail && failed) - throw string("service ") + servname + " " + string(start?"start":"stop") + " failed"; + throw String("service ") + servname + " " + String(start?"start":"stop") + " failed"; } void cman_leave() { // when bz179627 gets fixed, just call service cman stop, but for now ... - string out, err; + String out, err; int status; - vector<string> args; + vector<String> args; if (utils::execute(LSMOD_PATH, args, out, err, status, false)) - throw string("execute failed"); + throw String("execute failed"); bool cman_loaded = (out.find("cman") != out.npos); if (cman_loaded) {
@@ -263,9 +263,9 @@ args.push_back("dlm"); args.push_back("cman"); if (utils::execute(MODPROBE_PATH, args, out, err, status, false)) - throw string("execute failed"); + throw String("execute failed"); if (status != 0) - throw string("modprobe -r failed"); + throw String("modprobe -r failed"); } }
ricci/modules/cluster/Clusvcadm.cpp +44 -44
217 lines not on this page · raw message
ricci/modules/cluster/Clusvcadm.h +5 -5
@@ -24,16 +24,16 @@#ifndef Clusvcadm_h#define Clusvcadm_h -#include <string> +#include "String.h" class Clusvcadm { public: - static void start(const std::string& servicename, - const std::string& nodename); - static void stop(const std::string& servicename); - static void restart(const std::string& servicename); + static void start(const String& servicename, + const String& nodename); + static void stop(const String& servicename); + static void restart(const String& servicename); };
ricci/modules/cluster/Fence.cpp +5 -5
@@ -35,14 +35,14 @@ void -Fence::fence_node(const std::string& nodename) +Fence::fence_node(const String& nodename) { - string out, err; + String out, err; int status; - vector<string> args; + vector<String> args; args.push_back(nodename); if (utils::execute(FENCE_NODE_TOOL_PATH, args, out, err, status, false)) - throw string("execute failed"); + throw String("execute failed"); if (status != 0) - throw string("fence_node failed"); + throw String("fence_node failed"); }
ricci/modules/cluster/Fence.h +2 -2
@@ -24,13 +24,13 @@#ifndef Fence_h#define Fence_h -#include <string> +#include "String.h" class Fence { public: - static void fence_node(const std::string& nodename); + static void fence_node(const String& nodename); };
ricci/modules/cluster/main.cpp +1 -1
@@ -32,7 +32,7 @@ try { ClusterModule m; return stdin_out_module_driver(m); - } catch (string e) { + } catch (String e) { cerr << e << endl; return 1; }
ricci/modules/cluster/clumon/src/cim-provider/ClusterProvider.cpp +1 -1
@@ -44,7 +44,7 @@ using namespace Pegasus; using namespace ClusterMonitoring; -using Pegasus::String; + static CIMInstance buildClusterInstance(counting_auto_ptr<Cluster>& cluster, Boolean qual, Boolean orig);
ricci/modules/cluster/clumon/src/common/Cluster.cpp +42 -42
209 lines not on this page · raw message
ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp +4 -4
@@ -32,7 +32,7 @@ using namespace ClusterMonitoring; -ClusterMonitor::ClusterMonitor(const std::string& socket_path) : +ClusterMonitor::ClusterMonitor(const String& socket_path) : _sock_path(socket_path) {}
@@ -49,7 +49,7 @@ if(sock.send("GET").size()) throw int(); - std::string xml; + String xml; unsigned int timeout = 1000; while (timeout > 0) {
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/common/Node.cpp +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/common/Service.cpp +7 -7
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/daemon/Communicator.cpp +26 -26
52 lines not on this page · raw message
ricci/modules/cluster/clumon/src/daemon/Communicator.h +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/daemon/Monitor.cpp +88 -88
176 lines not on this page · raw message
ricci/modules/cluster/clumon/src/daemon/Monitor.h +13 -13
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/daemon/Peer.cpp +15 -15
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/daemon/Peer.h +9 -9
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/daemon/main.cpp +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/include/Cluster.h +37 -37
74 lines not on this page · raw message
ricci/modules/cluster/clumon/src/include/ClusterMonitor.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/snmp-agent/clusterMIB.cpp +15 -15
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/snmp-agent/nodesMIB_access.cpp +6 -6
Lines of this file are not shown. View the raw message.
ricci/modules/cluster/clumon/src/snmp-agent/servicesMIB_access.cpp +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/log/LogParser.cpp +47 -47
94 lines not on this page · raw message
ricci/modules/log/LogParser.h +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/log/LoggingModule.cpp +9 -9
Lines of this file are not shown. View the raw message.
ricci/modules/log/main.cpp +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/rpm/PackageHandler.cpp +87 -87
174 lines not on this page · raw message
ricci/modules/rpm/PackageHandler.h +19 -19
Lines of this file are not shown. View the raw message.
ricci/modules/rpm/RpmModule.cpp +13 -13
Lines of this file are not shown. View the raw message.
ricci/modules/rpm/main.cpp +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/service/ServiceManager.cpp +108 -108
216 lines not on this page · raw message
ricci/modules/service/ServiceManager.h +24 -24
48 lines not on this page · raw message
ricci/modules/service/ServiceModule.cpp +13 -13
Lines of this file are not shown. View the raw message.
ricci/modules/service/main.cpp +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/BD.cpp +25 -25
50 lines not on this page · raw message
ricci/modules/storage/BD.h +26 -26
52 lines not on this page · raw message
ricci/modules/storage/BDFactory.cpp +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/BDFactory.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ClusterNotQuorateError.h +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ClvmdError.h +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Content.cpp +11 -11
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Content.h +11 -11
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentExtendedPartition.cpp +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentExtendedPartition.h +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentFS.cpp +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentFS.h +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentFactory.cpp +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentFactory.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentNone.cpp +11 -11
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentNone.h +6 -6
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentUnusable.cpp +8 -8
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ContentUnusable.h +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/storage/ExtendedFS.cpp +58 -58
116 lines not on this page · raw message
ricci/modules/storage/ExtendedFS.h +8 -8
Lines of this file are not shown. View the raw message.
ricci/modules/storage/FSController.cpp +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/storage/FSController.h +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/HD.cpp +27 -27
54 lines not on this page · raw message
ricci/modules/storage/HD.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/LV.cpp +12 -12
Lines of this file are not shown. View the raw message.
ricci/modules/storage/LV.h +6 -6
Lines of this file are not shown. View the raw message.
ricci/modules/storage/LVM.cpp +172 -172
344 lines not on this page · raw message
ricci/modules/storage/LVM.h +24 -24
48 lines not on this page · raw message
ricci/modules/storage/MDRaid.cpp +15 -15
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MDRaid.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MDRaidSource.cpp +7 -7
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MDRaidSource.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MDRaidTarget.cpp +6 -6
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MDRaidTarget.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Mapper.cpp +9 -9
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Mapper.h +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MapperFactory.cpp +28 -28
56 lines not on this page · raw message
ricci/modules/storage/MapperFactory.h +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MapperSource.cpp +10 -10
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MapperSource.h +14 -14
Lines of this file are not shown. View the raw message.
ricci/modules/storage/MountHandler.cpp +91 -91
182 lines not on this page · raw message
ricci/modules/storage/MountHandler.h +22 -22
44 lines not on this page · raw message
ricci/modules/storage/PTSource.cpp +4 -4
Lines of this file are not shown. View the raw message.
ricci/modules/storage/PTSource.h +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/PV.cpp +19 -19
Lines of this file are not shown. View the raw message.
ricci/modules/storage/PV.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Partition.cpp +19 -19
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Partition.h +7 -7
Lines of this file are not shown. View the raw message.
ricci/modules/storage/PartitionTable.cpp +22 -22
44 lines not on this page · raw message
ricci/modules/storage/PartitionTable.h +4 -4
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Props.cpp +11 -11
Lines of this file are not shown. View the raw message.
ricci/modules/storage/Props.h +5 -5
Lines of this file are not shown. View the raw message.
ricci/modules/storage/StorageModule.cpp +38 -38
76 lines not on this page · raw message
ricci/modules/storage/SwapFS.cpp +20 -20
Lines of this file are not shown. View the raw message.
ricci/modules/storage/SwapFS.h +7 -7
Lines of this file are not shown. View the raw message.
ricci/modules/storage/System.cpp +14 -14
Lines of this file are not shown. View the raw message.
ricci/modules/storage/System.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/UMountError.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/modules/storage/VG.cpp +29 -29
58 lines not on this page · raw message
ricci/modules/storage/VG.h +4 -4
Lines of this file are not shown. View the raw message.
ricci/modules/storage/defines.h +40 -40
80 lines not on this page · raw message
ricci/modules/storage/main.cpp +1 -1
Lines of this file are not shown. View the raw message.
ricci/modules/storage/mdadm_wrapper.cpp +93 -93
186 lines not on this page · raw message
ricci/modules/storage/mdadm_wrapper.h +18 -18
Lines of this file are not shown. View the raw message.
ricci/modules/storage/parted_wrapper.cpp +84 -84
168 lines not on this page · raw message
ricci/modules/storage/parted_wrapper.h +19 -19
Lines of this file are not shown. View the raw message.
ricci/ricci/Auth.cpp +6 -6
Lines of this file are not shown. View the raw message.
ricci/ricci/Auth.h +3 -3
Lines of this file are not shown. View the raw message.
ricci/ricci/ClientInstance.cpp +15 -15
Lines of this file are not shown. View the raw message.
ricci/ricci/DBusController.cpp +20 -20
Lines of this file are not shown. View the raw message.
ricci/ricci/DBusController.h +5 -5
Lines of this file are not shown. View the raw message.
ricci/ricci/QueueLocker.cpp +6 -6
Lines of this file are not shown. View the raw message.
ricci/ricci/Ricci.cpp +59 -42
101 lines not on this page · raw message
ricci/ricci/Ricci.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/ricci/RicciWorker.cpp +24 -23
47 lines not on this page · raw message
ricci/ricci/RicciWorker.h +2 -2
Lines of this file are not shown. View the raw message.
ricci/ricci/SSLInstance.cpp +35 -33
68 lines not on this page · raw message
ricci/ricci/SSLInstance.h +4 -4
Lines of this file are not shown. View the raw message.
ricci/ricci/Server.cpp +3 -3
Lines of this file are not shown. View the raw message.
ricci/ricci/auth_helper.cpp +3 -2
Lines of this file are not shown. View the raw message.
ricci/ricci/dbus_test.cpp +2 -2
Lines of this file are not shown. View the raw message.
ricci/ricci/main.cpp +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.