marco 1.29.1
Window manager
Loading...
Searching...
No Matches
schema-bindings.c File Reference
View source
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <glib.h>
#include "config.h"
#include "all-keybindings.h"
Include dependency graph for schema-bindings.c:

Macros

#define _(x)   x
 
#define keybind(name, handler, param, flags, stroke, description)
 

Functions

static void single_stanza (gboolean is_window, const char *name, const char *default_value, gboolean can_reverse, const char *description)
 
static void produce_bindings ()
 
int main (int argc, char **argv)
 

Variables

char * about_keybindings
 
char * about_reversible_keybindings
 
char * source_filename
 
char * target_filename
 
FILE * source_file
 
FILE * target_file
 

Macro Definition Documentation

◆ _

#define _ (   x)    x

◆ keybind

#define keybind (   name,
  handler,
  param,
  flags,
  stroke,
  description 
)
Value:
flags & BINDING_PER_WINDOW, \
#name, \
stroke, \
flags & BINDING_REVERSES, \
description);
#define BINDING_REVERSES
Definition all-keybindings.h:71
#define BINDING_PER_WINDOW
A list of screen keybinding information.
Definition all-keybindings.h:70
static void single_stanza(gboolean is_window, const char *name, const char *default_value, gboolean can_reverse, const char *description)
Definition schema-bindings.c:52

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

References _, about_keybindings, about_reversible_keybindings, produce_bindings(), source_filename, and target_filename.

Here is the call graph for this function:

◆ produce_bindings()

static void produce_bindings ( )
static

References source_file, source_filename, target_file, and target_filename.

Referenced by main().

◆ single_stanza()

static void single_stanza ( gboolean  is_window,
const char *  name,
const char *  default_value,
gboolean  can_reverse,
const char *  description 
)
static

Variable Documentation

◆ about_keybindings

char* about_keybindings

Referenced by main(), and single_stanza().

◆ about_reversible_keybindings

char * about_reversible_keybindings

Referenced by main(), and single_stanza().

◆ source_file

FILE* source_file

Referenced by produce_bindings().

◆ source_filename

char* source_filename

Referenced by main(), and produce_bindings().

◆ target_file

FILE * target_file

Referenced by produce_bindings(), and single_stanza().

◆ target_filename

char * target_filename

Referenced by main(), and produce_bindings().