Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

builtin_complete.c File Reference

Functions defining the complete builtin. More...

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <wchar.h>
#include <wctype.h>
#include <sys/types.h>
#include <termios.h>
#include <signal.h>
#include "fallback.h"
#include "util.h"
#include "wutil.h"
#include "builtin.h"
#include "common.h"
#include "complete.h"
#include "wgetopt.h"
#include "parser.h"
#include "reader.h"

This graph shows which files directly or indirectly include this file:


Functions

static void builtin_complete_add2 (const wchar_t *cmd, int cmd_type, const wchar_t *short_opt, array_list_t *gnu_opt, array_list_t *old_opt, int result_mode, const wchar_t *condition, const wchar_t *comp, const wchar_t *desc, int flags)
 Silly function.
static void builtin_complete_add (array_list_t *cmd, array_list_t *path, const wchar_t *short_opt, array_list_t *gnu_opt, array_list_t *old_opt, int result_mode, int authoritative, const wchar_t *condition, const wchar_t *comp, const wchar_t *desc, int flags)
 Silly function.
static void builtin_complete_remove3 (wchar_t *cmd, int cmd_type, wchar_t short_opt, array_list_t *long_opt)
 Silly function.
static void builtin_complete_remove2 (wchar_t *cmd, int cmd_type, const wchar_t *short_opt, array_list_t *gnu_opt, array_list_t *old_opt)
 Silly function.
static void builtin_complete_remove (array_list_t *cmd, array_list_t *path, const wchar_t *short_opt, array_list_t *gnu_opt, array_list_t *old_opt)
 Silly function.
const wchar_t * builtin_complete_get_temporary_buffer ()
 Slightly kludgy function used with 'complete -C' in order to make the commandline builtin operate on the string to complete instead of operating on whatever is to be completed.
static int builtin_complete (wchar_t **argv)
 The complete builtin.

Variables

static const wchar_t * temporary_buffer
 Internal storage for the builtin_get_temporary_buffer() function.

Detailed Description

Functions defining the complete builtin.

Functions used for implementing the complete builtin.


Function Documentation

static int builtin_complete wchar_t **  argv  )  [static]
 

The complete builtin.

Used for specifying programmable tab-completions. Calls the functions in complete.c for any heavy lifting. Defined in builtin_complete.c


Generated on Sun Jan 13 02:52:33 2008 for fish by  doxygen 1.4.4