| 107 | } |
| 108 | |
| 109 | void add(const AuthReader::Info& info) |
| 110 | { |
| 111 | ClumpletWriter to(WideUnTagged, MAX_DPB_SIZE); |
| 112 | |
| 113 | add(to, AuthReader::AUTH_TYPE, info.type); |
| 114 | add(to, AuthReader::AUTH_NAME, info.name); |
| 115 | add(to, AuthReader::AUTH_PLUGIN, info.plugin); |
| 116 | add(to, AuthReader::AUTH_SECURE_DB, info.secDb); |
| 117 | add(to, AuthReader::AUTH_ORIG_PLUG, info.origPlug); |
| 118 | |
| 119 | if (to.getBufferLength()) |
| 120 | { |
| 121 | moveNext(); |
| 122 | insertBytes(sequence++, to.getBuffer(), to.getBufferLength()); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | private: |
| 127 | void add(ClumpletWriter& to, const unsigned char tag, const NoCaseString& str) |
no test coverage detected