#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
#include <errno.h>
Definicje | |
#define | MAX_PASS_LEN 15 |
#define | ULTRA_DEBUG 0 |
#define | ULTRA_VERBOSE 0 |
#define | ULTRA_SAFE 0 |
#define | ULTRA_SMP 4 |
#define | NOT_STOP_ON_FIRST 0 |
#define | DIGIT_SIZE (sizeof(digit)-2) |
#define | DIGIT0_START digit_start |
#define | DIGIT0_SIZE digit_end |
#define | DIGIT0_ONE (DIGIT_SIZE/ULTRA_SMP) |
Funkcje | |
static void | bonce (size_t i) |
static void | incr () |
int | main () |
Zmienne | |
static const char | digit [] = "\0abcdefghijklmnoprstuwxyz" |
static pid_t | pids [ULTRA_SMP] |
static int | pipes [ULTRA_SMP] |
static int | digit_start |
static int | digit_end |
static unsigned char | pass [MAX_PASS_LEN] |
static unsigned char | realpass [MAX_PASS_LEN+1] |
static size_t | pass_pos = 0 |
#define DIGIT0_ONE (DIGIT_SIZE/ULTRA_SMP) |
#define DIGIT0_SIZE digit_end |
#define DIGIT0_START digit_start |
#define DIGIT_SIZE (sizeof(digit)-2) |
#define MAX_PASS_LEN 15 |
#define NOT_STOP_ON_FIRST 0 |
#define ULTRA_DEBUG 0 |
#define ULTRA_SAFE 0 |
#define ULTRA_SMP 4 |
#define ULTRA_VERBOSE 0 |
static void bonce | ( | size_t | i | ) | [inline, static] |
static void incr | ( | ) | [inline, static] |
int main | ( | ) |
const char digit[] = "\0abcdefghijklmnoprstuwxyz" [static] |
int digit_end [static] |
int digit_start [static] |
unsigned char pass[MAX_PASS_LEN] [static] |
size_t pass_pos = 0 [static] |
pid_t pids[ULTRA_SMP] [static] |
int pipes[ULTRA_SMP] [static] |
unsigned char realpass[MAX_PASS_LEN+1] [static] |