include/match.h File Reference

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

Go to the source code of this file.

Functions

void match_init (Match *match)
bool match_is_empty (Match *match)
 Check if a match is empty.
void match_copy (Match *dest, Match *src)
 Copies the data of a match from src to dest.
bool match_matches_window (Match *match, i3Window *window)
 Check if a match data structure matches the given window.

Function Documentation

void match_copy ( Match dest,
Match src 
)

Copies the data of a match from src to dest.

Definition at line 52 of file match.c.

References STRDUP.

Referenced by yyparse().

void match_init ( Match match  ) 

Definition at line 23 of file match.c.

References Match::dock.

Referenced by json_start_map(), output_init_con(), parse_cmd(), and yyparse().

bool match_is_empty ( Match match  ) 

Check if a match is empty.

This is necessary while parsing commands to see whether the user specified a match at all.

Definition at line 33 of file match.c.

References Match::application, Match::class, Match::con_id, Match::dock, Match::floating, Match::id, Match::instance, Match::mark, and Match::title.

Referenced by yyparse().

bool match_matches_window ( Match match,
i3Window window 
)

Check if a match data structure matches the given window.

Definition at line 71 of file match.c.

References Match::class, Window::class_class, Window::class_instance, Window::dock, Match::dock, Match::id, Window::id, Match::instance, LOG, Match::mark, Window::name_json, and Match::title.

Referenced by assignment_for(), con_for_window(), run_assignments(), and yyparse().


Generated on 6 Aug 2011 for i3 by  doxygen 1.6.1