diff options
| -rw-r--r-- | src/ldapinfo.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ldapinfo.c b/src/ldapinfo.c index 8ccbb80..f68b3fe 100644 --- a/src/ldapinfo.c +++ b/src/ldapinfo.c | |||
| @@ -156,84 +156,84 @@ static const char * ldapinfo_attrs[] = | |||
| 156 | #pragma mark - Prototypes | 156 | #pragma mark - Prototypes |
| 157 | 157 | ||
| 158 | // main statement | 158 | // main statement |
| 159 | int | 159 | extern int |
| 160 | main( | 160 | main( |
| 161 | int argc, | 161 | int argc, |
| 162 | char * argv[] ); | 162 | char * argv[] ); |
| 163 | 163 | ||
| 164 | 164 | ||
| 165 | int | 165 | static int |
| 166 | my_cmp_strings( | 166 | my_cmp_strings( |
| 167 | const void * ap, | 167 | const void * ap, |
| 168 | const void * bp ); | 168 | const void * bp ); |
| 169 | 169 | ||
| 170 | 170 | ||
| 171 | // parses configuration | 171 | // parses configuration |
| 172 | int | 172 | static int |
| 173 | my_config( | 173 | my_config( |
| 174 | int argc, | 174 | int argc, |
| 175 | char * argv[], | 175 | char * argv[], |
| 176 | MyConfig ** cnfp ); | 176 | MyConfig ** cnfp ); |
| 177 | 177 | ||
| 178 | 178 | ||
| 179 | void | 179 | static void |
| 180 | my_field( | 180 | my_field( |
| 181 | const char * name, | 181 | const char * name, |
| 182 | const char * val, | 182 | const char * val, |
| 183 | int isoid ); | 183 | int isoid ); |
| 184 | 184 | ||
| 185 | 185 | ||
| 186 | void | 186 | static void |
| 187 | my_fields( | 187 | my_fields( |
| 188 | const char * name, | 188 | const char * name, |
| 189 | char ** vals, | 189 | char ** vals, |
| 190 | int isoid ); | 190 | int isoid ); |
| 191 | 191 | ||
| 192 | 192 | ||
| 193 | char * | 193 | static char * |
| 194 | my_monitor( | 194 | my_monitor( |
| 195 | MyConfig * cnf, | 195 | MyConfig * cnf, |
| 196 | const char * base ); | 196 | const char * base ); |
| 197 | 197 | ||
| 198 | 198 | ||
| 199 | int | 199 | static int |
| 200 | my_monitor_connections( | 200 | my_monitor_connections( |
| 201 | MyConfig * cnf, | 201 | MyConfig * cnf, |
| 202 | const char * base ); | 202 | const char * base ); |
| 203 | 203 | ||
| 204 | 204 | ||
| 205 | int | 205 | static int |
| 206 | my_monitor_database( | 206 | my_monitor_database( |
| 207 | MyConfig * cnf, | 207 | MyConfig * cnf, |
| 208 | const char * base ); | 208 | const char * base ); |
| 209 | 209 | ||
| 210 | 210 | ||
| 211 | int | 211 | static int |
| 212 | my_monitor_listeners( | 212 | my_monitor_listeners( |
| 213 | MyConfig * cnf, | 213 | MyConfig * cnf, |
| 214 | const char * base ); | 214 | const char * base ); |
| 215 | 215 | ||
| 216 | 216 | ||
| 217 | int | 217 | static int |
| 218 | my_monitor_operations( | 218 | my_monitor_operations( |
| 219 | MyConfig * cnf, | 219 | MyConfig * cnf, |
| 220 | const char * base ); | 220 | const char * base ); |
| 221 | 221 | ||
| 222 | 222 | ||
| 223 | // parses RootDSE | 223 | // parses RootDSE |
| 224 | int | 224 | static int |
| 225 | my_rootdse( | 225 | my_rootdse( |
| 226 | MyConfig * cnf ); | 226 | MyConfig * cnf ); |
| 227 | 227 | ||
| 228 | 228 | ||
| 229 | int | 229 | static int |
| 230 | my_schema( | 230 | my_schema( |
| 231 | MyConfig * cnf, | 231 | MyConfig * cnf, |
| 232 | const char * base ); | 232 | const char * base ); |
| 233 | 233 | ||
| 234 | 234 | ||
| 235 | // fress resources | 235 | // fress resources |
| 236 | void | 236 | static void |
| 237 | my_unbind( | 237 | my_unbind( |
| 238 | MyConfig * cnf ); | 238 | MyConfig * cnf ); |
| 239 | 239 | ||
