All user-callable functions. More...
Go to the source code of this file.
Macros | |
#define | DEFINE_HELP_MESSAGE(opcode, op_string) { #opcode, op_string }, |
Functions | |
const char * | opcodes_get_name (int op) |
Get the name of an opcode. | |
const char * | opcodes_get_description (int op) |
Get the description of an opcode. | |
Variables | |
static const char * | OpStrings [][2] |
Lookup table mapping an opcode to its name and description e.g. | |
All user-callable functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file opcodes.c.
#define DEFINE_HELP_MESSAGE | ( | opcode, | |
op_string | |||
) | { #opcode, op_string }, |
const char * opcodes_get_name | ( | int | op | ) |
Get the name of an opcode.
op | Opcode, e.g. OP_HELP |
str | Name of the opcode |
Definition at line 48 of file opcodes.c.
const char * opcodes_get_description | ( | int | op | ) |
Get the description of an opcode.
op | Opcode, e.g. OP_HELP |
str | Description of the opcode |
Definition at line 70 of file opcodes.c.
|
static |
Lookup table mapping an opcode to its name and description e.g.
OpStrings[OP_EDIT_LABEL] = { "OP_EDIT_LABEL", "edit an email's label" }