+ else if (key_len == 6 && strncasecmp( key, "source", key_len ) == 0 && value != NULL)
+ {
+ if (line_source == NULL)
+ line_source = deslashndup ( value, value_len );
+ }
+ // NB using 'xtype' to differentiate from our own 'type' key
+ else if (key_len == 5 && strncasecmp( key, "xtype", key_len ) == 0 && value != NULL)
+ {
+ if (line_xtype == NULL)
+ line_xtype = deslashndup ( value, value_len );
+ }
+ else if (key_len == 5 && strncasecmp( key, "color", key_len ) == 0 && value != NULL)
+ {
+ if (line_color == NULL)
+ line_color = deslashndup ( value, value_len );
+ }
+ else if (key_len == 14 && strncasecmp( key, "draw_name_mode", key_len ) == 0 && value != NULL)
+ {
+ line_name_label = atoi(value);
+ }
+ else if (key_len == 18 && strncasecmp( key, "number_dist_labels", key_len ) == 0 && value != NULL)
+ {
+ line_dist_label = atoi(value);
+ }