~galfy/helenos/bird-port-mainline

« back to all changes in this revision

Viewing changes to uspace/app/bdsh/cmds/modules/module_aliases.h

  • Committer: Martin Decky
  • Date: 2009-08-04 11:19:19 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20090804111919-evyclddlr3v5lhmp
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MODULE_ALIASES_H
 
2
#define MODULE_ALIASES_H
 
3
 
 
4
/* Modules that declare multiple names for themselves but use the
 
5
 * same entry functions are aliases. This array helps to determine if
 
6
 * a module is an alias, as such it can be invoked differently.
 
7
 * format is alias , real_name */
 
8
 
 
9
/* So far, this is only used in the help display but could be used to
 
10
 * handle a module differently even prior to reaching its entry code.
 
11
 * For instance, 'exit' could behave differently than 'quit', prior to
 
12
 * the entry point being reached. */
 
13
 
 
14
char *mod_aliases[] = {
 
15
        "ren", "mv",
 
16
        NULL, NULL
 
17
};
 
18
 
 
19
#endif