diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-26 00:55:59 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-26 00:55:59 -0900 |
| commit | 449927bddc48084d6a224e4d1db0415eeb5dd3f6 (patch) | |
| tree | 62b3724f5d0a2e33d74af7be656666df585a4c3f | |
| parent | 4b5e60e7337474a6053a9219b1f6012dfa079fca (diff) | |
| download | ldap-utils-449927bddc48084d6a224e4d1db0415eeb5dd3f6.tar.gz ldap-utils-449927bddc48084d6a224e4d1db0415eeb5dd3f6.tar.bz2 ldap-utils-449927bddc48084d6a224e4d1db0415eeb5dd3f6.tar.xz ldap-utils-449927bddc48084d6a224e4d1db0415eeb5dd3f6.zip | |
ldapinfo: adjusting whitespace
| -rw-r--r-- | src/ldapinfo.c | 78 |
1 files changed, 65 insertions, 13 deletions
diff --git a/src/ldapinfo.c b/src/ldapinfo.c index 29fb38a..8ccbb80 100644 --- a/src/ldapinfo.c +++ b/src/ldapinfo.c | |||
| @@ -156,34 +156,86 @@ static const char * ldapinfo_attrs[] = | |||
| 156 | #pragma mark - Prototypes | 156 | #pragma mark - Prototypes |
| 157 | 157 | ||
| 158 | // main statement | 158 | // main statement |
| 159 | int main(int argc, char * argv[]); | 159 | int |
| 160 | main( | ||
| 161 | int argc, | ||
| 162 | char * argv[] ); | ||
| 163 | |||
| 164 | |||
| 165 | int | ||
| 166 | my_cmp_strings( | ||
| 167 | const void * ap, | ||
| 168 | const void * bp ); | ||
| 160 | 169 | ||
| 161 | int my_cmp_strings(const void * ap, const void * bp); | ||
| 162 | 170 | ||
| 163 | // parses configuration | 171 | // parses configuration |
| 164 | int my_config(int argc, char * argv[], MyConfig ** cnfp); | 172 | int |
| 173 | my_config( | ||
| 174 | int argc, | ||
| 175 | char * argv[], | ||
| 176 | MyConfig ** cnfp ); | ||
| 177 | |||
| 178 | |||
| 179 | void | ||
| 180 | my_field( | ||
| 181 | const char * name, | ||
| 182 | const char * val, | ||
| 183 | int isoid ); | ||
| 184 | |||
| 185 | |||
| 186 | void | ||
| 187 | my_fields( | ||
| 188 | const char * name, | ||
| 189 | char ** vals, | ||
| 190 | int isoid ); | ||
| 165 | 191 | ||
| 166 | void my_field(const char * name, const char * val, int isoid); | ||
| 167 | 192 | ||
| 168 | void my_fields(const char * name, char ** vals, int isoid); | 193 | char * |
| 194 | my_monitor( | ||
| 195 | MyConfig * cnf, | ||
| 196 | const char * base ); | ||
| 169 | 197 | ||
| 170 | char * my_monitor(MyConfig * cnf, const char * base); | ||
| 171 | 198 | ||
| 172 | int my_monitor_connections(MyConfig * cnf, const char * base); | 199 | int |
| 200 | my_monitor_connections( | ||
| 201 | MyConfig * cnf, | ||
| 202 | const char * base ); | ||
| 173 | 203 | ||
| 174 | int my_monitor_database(MyConfig * cnf, const char * base); | ||
| 175 | 204 | ||
| 176 | int my_monitor_listeners(MyConfig * cnf, const char * base); | 205 | int |
| 206 | my_monitor_database( | ||
| 207 | MyConfig * cnf, | ||
| 208 | const char * base ); | ||
| 209 | |||
| 210 | |||
| 211 | int | ||
| 212 | my_monitor_listeners( | ||
| 213 | MyConfig * cnf, | ||
| 214 | const char * base ); | ||
| 215 | |||
| 216 | |||
| 217 | int | ||
| 218 | my_monitor_operations( | ||
| 219 | MyConfig * cnf, | ||
| 220 | const char * base ); | ||
| 177 | 221 | ||
| 178 | int my_monitor_operations(MyConfig * cnf, const char * base); | ||
| 179 | 222 | ||
| 180 | // parses RootDSE | 223 | // parses RootDSE |
| 181 | int my_rootdse(MyConfig * cnf); | 224 | int |
| 225 | my_rootdse( | ||
| 226 | MyConfig * cnf ); | ||
| 227 | |||
| 228 | |||
| 229 | int | ||
| 230 | my_schema( | ||
| 231 | MyConfig * cnf, | ||
| 232 | const char * base ); | ||
| 182 | 233 | ||
| 183 | int my_schema(MyConfig * cnf, const char * base); | ||
| 184 | 234 | ||
| 185 | // fress resources | 235 | // fress resources |
| 186 | void my_unbind(MyConfig * cnf); | 236 | void |
| 237 | my_unbind( | ||
| 238 | MyConfig * cnf ); | ||
| 187 | 239 | ||
| 188 | 240 | ||
| 189 | ///////////////// | 241 | ///////////////// |
