gattrib

s_misc.c File Reference

Miscellaneous STRING_LIST functions. More...

#include <config.h>
#include <stdio.h>
#include <math.h>
#include <libgeda/libgeda.h>
#include "../include/struct.h"
#include "../include/prototype.h"
#include "../include/globals.h"
Include dependency graph for s_misc.c:

Go to the source code of this file.

Functions

void verbose_print (char *string)
 Print message in verbose mode.
void verbose_done (void)
 Print "DONE" message in verbose mode.
void verbose_reset_index (void)
 Reset the running character count.
char * s_misc_remaining_string (gchar *string, gchar delimiter, gint count)

Variables

static int char_index = 0

Detailed Description

Definition in file s_misc.c.


Function Documentation

void verbose_print ( char *  string)

Print the supplied message in verbose mode. Line wrap if necessary.

Identical to that defined in gnetlist/src/s_misc.c

Parameters:
stringString to be printed

Definition at line 61 of file s_misc.c.

void verbose_done ( void  )

Prints the "DONE" message in verbose mode, wrapping before printing if near the end of line.

Identical to function defined in gnetlist/src/s_misc.c

Definition at line 80 of file s_misc.c.

void verbose_reset_index ( void  )

Reset the current characted count.

Identical to function defined in gnetlist/src/s_misc.c

Definition at line 100 of file s_misc.c.

char* s_misc_remaining_string ( gchar *  string,
gchar  delimiter,
gint  count 
)

Definition at line 109 of file s_misc.c.


Variable Documentation

int char_index = 0 [static]

Running count of number of characters printed on current line.

Definition at line 52 of file s_misc.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines