old-graph: Move graph API into the common graph struct
[tig.git] / include / tig / stash.h
blob4255123b7fb6906366514ae1801cd2f0a8657dba
1 /* Copyright (c) 2006-2014 Jonas Fonseca <jonas.fonseca@gmail.com>
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License as
5 * published by the Free Software Foundation; either version 2 of
6 * the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef TIG_STASH_H
15 #define TIG_STASH_H
17 #include "tig/view.h"
19 extern struct view stash_view;
21 static inline void
22 open_stash_view(struct view *prev, enum open_flags flags)
24 open_view(prev, &stash_view, flags);
27 #endif
28 /* vim: set ts=8 sw=8 noexpandtab: */