An simple demonstration.
More...
#include "ac.h"
#include <stdio.h>
Go to the source code of this file.
Defines |
#define | countof(e) (sizeof(e)/sizeof(*(e))) |
#define | ROW 80 |
#define | ENDL "\n" |
Typedefs |
typedef unsigned long long | u64 |
Functions |
void | pcode (u8 *out, size_t nout) |
| Prints out the encoded message using hex codes.
|
void | pascii (u8 *out, size_t nout) |
| Prints out the encoded message using characters.
|
void | pmsg (u32 *v, size_t n) |
| Prints decoded the message string.
|
int | main (int argc, char *argv[]) |
| A simple demo.
|
Detailed Description
An simple demonstration.
Definition in file test.c.
Define Documentation
#define countof |
( |
|
e | ) |
(sizeof(e)/sizeof(*(e))) |
Definition at line 6 of file test.c.
Definition at line 8 of file test.c.
Definition at line 7 of file test.c.
Typedef Documentation
typedef unsigned long long u64 |
Definition at line 9 of file test.c.
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
A simple demo.
Definition at line 51 of file test.c.
Prints out the encoded message using characters.
Definition at line 25 of file test.c.
void pcode |
( |
u8 * |
out, |
|
|
size_t |
nout |
|
) |
| |
Prints out the encoded message using hex codes.
Definition at line 12 of file test.c.
Prints decoded the message string.
Definition at line 38 of file test.c.