void init_config_argv( ConfigArgs *c );
int init_config_attrs(ConfigTable *ct);
int init_config_ocs( ConfigOCs *ocs );
+void config_parse_ldif( ConfigArgs *c );
int config_parse_vals(ConfigTable *ct, ConfigArgs *c, int valx);
int config_parse_add(ConfigTable *ct, ConfigArgs *c, int valx);
int read_config_file(const char *fname, int depth, ConfigArgs *cf,
ca.line = rwmap->rwm_bva_rewrite[ i ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv0 = ca.argv[ 0 ];
ca.argv[ 0 ] += STRLENOF( "rwm-" );
ca.line = rwmap->rwm_bva_map[ cnt ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv[1] = ca.argv[0];
argv[2] = ca.argv[1];
ca.line = rwmap->rwm_bva_rewrite[ i ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv0 = ca.argv[ 0 ];
ca.argv[ 0 ] += STRLENOF( "rwm-" );
ca.line = rwmap->rwm_bva_rewrite[ i ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv0 = ca.argv[ 0 ];
ca.argv[ 0 ] += STRLENOF( "rwm-" );
ca.line = rwmap->rwm_bva_map[ cnt ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv[1] = ca.argv[0];
argv[2] = ca.argv[1];
ca.line = rwmap->rwm_bva_map[ cnt ].bv_val;
ca.argc = 0;
- config_fp_parse_line( &ca );
+ init_config_argv( &ca );
+ config_parse_ldif( &ca );
argv[1] = ca.argv[0];
argv[2] = ca.argv[1];