-extern void eprint(const char *errstr, ...);
-extern void *emallocz(unsigned int size);
-extern void spawn(Arg *arg);
+extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */
+extern void eprint(const char *errstr, ...); /* prints error string and exits with return code 1 */
+extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */
+extern void spawn(Arg *arg) /* forks a new subprocess accordingly to arg's cmd */
+
+/* view.c */
+extern void detach(Client *c); /* detaches c from global client list */
+extern void dofloat(Arg *arg); /* arranges all windows in a floating way, arg is ignored */
+extern void dotile(Arg *arg); /* arranges all windows in a tiled way, arg is ignored */
+extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
+extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
+extern Bool isvisible(Client *c); /* returns True if client is visible */
+extern void resizecol(Arg *arg); /* resizes the master width accordingly to arg's index value */
+extern void restack(); /* restores z layers of all clients */
+extern void togglemode(Arg *arg); /* toggles global arrange mode (between dotile and dofloat) */
+extern void toggleview(Arg *arg); /* makes the tag accordingly to arg's index (in)visible */
+extern void view(Arg *arg); /* makes the tag accordingly to arg's index visible */
+extern void viewall(Arg *arg); /* makes all tags visible, arg is ignored */
+extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */