mirror of
https://tinyplantnews.com/git2/ldaphotos
synced 2025-01-10 18:35:15 +00:00
39a69c947e
Added manipulations.c, which turns an array of bytes into their hex representation. Added a completely useless test suite. Added manifesto.tex, which is, well, a dramatic name for my notes to self and plan. Added local.schema, which will be used by LDAP later on when actually registering the photos in a database.
35 lines
974 B
C
35 lines
974 B
C
/**
|
|
* Main.h: contains definitions for ldaphotos.c
|
|
*/
|
|
|
|
#ifndef LDAPHOTOS
|
|
#define LDAPHOTOS
|
|
|
|
#define VERSION "v0.0"
|
|
#define TITLE "LDAP Photo Album, by Catluck Kettlemerry"
|
|
#define PROGNAME "ldaphotos"
|
|
#define USAGE0 "Usage:"
|
|
#define USAGE1 "[OPTION...]"
|
|
#define OPTIONS0 "Options:"
|
|
#define OPTIONS1 "\t-v run verbosely"
|
|
#define OPTIONS2 "\t-h show help and exit"
|
|
#define OPTIONS3 "\t-t provide terse output"
|
|
#define OPTIONS4 "\t-f <path> Read input from file <path>"
|
|
#define OPTIONS5 ""
|
|
#define OPTIONS6 ""
|
|
#define OPTIONS7 ""
|
|
#define OPTIONS8 ""
|
|
#define OPTIONS9 ""
|
|
#define OPTIONS10 "\t-p Print the effects of the given options for this invocation"
|
|
|
|
void print_help(void){
|
|
printf("%s %s\n", TITLE, VERSION);
|
|
printf("%s %s %s\n", USAGE0, PROGNAME, USAGE1);
|
|
printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
|
|
OPTIONS0, OPTIONS1, OPTIONS2, OPTIONS3, OPTIONS4,
|
|
OPTIONS5, OPTIONS6, OPTIONS7, OPTIONS8, OPTIONS9,
|
|
OPTIONS10);
|
|
}
|
|
|
|
#endif
|