geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include "general.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "args_p.h"
#include "debug.h"
#include "routines.h"
#include "vstring.h"
Go to the source code of this file.
Functions | |
static char * | nextStringArg (const char **const next) |
static char * | nextStringLine (const char **const next) |
static char * | nextString (const Arguments *const current, const char **const next) |
static char * | nextFileArg (FILE *const fp) |
static char * | nextFileLine (FILE *const fp) |
static bool | isCommentLine (char *line) |
static char * | nextFileLineSkippingComments (FILE *const fp) |
static char * | nextFileString (const Arguments *const current, FILE *const fp) |
Arguments * | argNewFromString (const char *const string) |
Arguments * | argNewFromArgv (char *const *const argv) |
Arguments * | argNewFromFile (FILE *const fp) |
Arguments * | argNewFromLineFile (FILE *const fp) |
char * | argItem (const Arguments *const current) |
bool | argOff (const Arguments *const current) |
void | argSetWordMode (Arguments *const current) |
void | argSetLineMode (Arguments *const current) |
void | argForth (Arguments *const current) |
void | argDelete (Arguments *const current) |
void argDelete | ( | Arguments *const | current | ) |
Definition at line 282 of file args.c.
References ARG_FILE, ARG_STRING, Assert, eFree(), sArgs::item, NULL, and sArgs::type.
Referenced by cArgDelete().
void argForth | ( | Arguments *const | current | ) |
Definition at line 256 of file args.c.
References ARG_ARGV, ARG_FILE, ARG_STRING, argOff(), sArgs::argvArgs, Assert, eFree(), sArgs::fileArgs, sArgs::item, nextFileString(), nextString(), NULL, sArgs::stringArgs, sArgs::type, and sArgs::u.
Referenced by cArgForth(), and parseShortOption().
char * argItem | ( | const Arguments *const | current | ) |
Definition at line 231 of file args.c.
References argOff(), Assert, sArgs::item, and NULL.
Referenced by cArgRead(), and parseShortOption().
Arguments * argNewFromArgv | ( | char *const *const | argv | ) |
Definition at line 199 of file args.c.
References ARG_ARGV, sArgs::argvArgs, sArgs::item, sArgs::type, sArgs::u, and xMalloc.
Referenced by cArgNewFromArgv().
Arguments * argNewFromFile | ( | FILE *const | fp | ) |
Definition at line 210 of file args.c.
References ARG_FILE, sArgs::fileArgs, sArgs::item, nextFileString(), sArgs::type, sArgs::u, and xMalloc.
Referenced by cArgNewFromFile().
Arguments * argNewFromLineFile | ( | FILE *const | fp | ) |
Definition at line 220 of file args.c.
References ARG_FILE, sArgs::fileArgs, sArgs::item, sArgs::lineMode, nextFileString(), sArgs::type, sArgs::u, and xMalloc.
Referenced by cArgNewFromLineFile().
Arguments * argNewFromString | ( | const char *const | string | ) |
Definition at line 189 of file args.c.
References ARG_STRING, sArgs::item, nextString(), sArgs::stringArgs, sArgs::type, sArgs::u, and xMalloc.
Referenced by cArgNewFromString().
bool argOff | ( | const Arguments *const | current | ) |
Definition at line 238 of file args.c.
References Assert, sArgs::item, and NULL.
Referenced by argForth(), argItem(), cArgForth(), cArgOff(), cArgRead(), and parseShortOption().
void argSetLineMode | ( | Arguments *const | current | ) |
Definition at line 250 of file args.c.
References Assert, sArgs::lineMode, and NULL.
void argSetWordMode | ( | Arguments *const | current | ) |
Definition at line 244 of file args.c.
References Assert, sArgs::lineMode, and NULL.
|
static |
Definition at line 157 of file args.c.
References line.
Referenced by nextFileLineSkippingComments().
|
static |
Definition at line 93 of file args.c.
References Assert, NULL, vStringDelete(), vStringLength, vStringNew(), vStringPut(), vStringValue, and xMalloc.
Referenced by nextFileString().
|
static |
Definition at line 121 of file args.c.
References Assert, NULL, vStringDelete(), vStringLength, vStringNew(), vStringPut(), vStringStripLeading(), vStringStripTrailing(), vStringValue, and xMalloc.
Referenced by nextFileLineSkippingComments().
|
static |
Definition at line 164 of file args.c.
References eFree(), isCommentLine(), and nextFileLine().
Referenced by nextFileString().
|
static |
Definition at line 179 of file args.c.
References sArgs::lineMode, nextFileArg(), and nextFileLineSkippingComments().
Referenced by argForth(), argNewFromFile(), and argNewFromLineFile().
|
static |
Definition at line 83 of file args.c.
References sArgs::lineMode, nextStringArg(), and nextStringLine().
Referenced by argForth(), and argNewFromString().
|
static |