namespace NSwarm { enum TChannelFlags { SWARM_CHANNEL_TYPE_PERSISTENT = 0x00000001, SWARM_CHANNEL_TYPE_JOB_ONLY = 0x00000002, SWARM_CHANNEL_TYPE_MASK = 0x0000000F, SWARM_CHANNEL_ACCESS_READ = 0x00000010, SWARM_CHANNEL_ACCESS_WRITE = 0x00000020, SWARM_CHANNEL_ACCESS_MASK = 0x000000F0, SWARM_CHANNEL_READ = SWARM_CHANNEL_TYPE_PERSISTENT | SWARM_CHANNEL_ACCESS_READ, SWARM_CHANNEL_WRITE = SWARM_CHANNEL_TYPE_PERSISTENT | SWARM_CHANNEL_ACCESS_WRITE, SWARM_JOB_CHANNEL_READ = SWARM_CHANNEL_TYPE_JOB_ONLY | SWARM_CHANNEL_ACCESS_READ, SWARM_JOB_CHANNEL_WRITE = SWARM_CHANNEL_TYPE_JOB_ONLY | SWARM_CHANNEL_ACCESS_WRITE, SWARM_CHANNEL_MISC_ENABLE_PAPER_TRAIL = 0x00010000, SWARM_CHANNEL_MISC_ENABLE_COMPRESSION = 0x00020000, SWARM_CHANNEL_MISC_MASK = 0x000F0000, } }