1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
/*
PsychToolbox2/Source/Common/PsychRegisterProject.h
PROJECTS: All.
AUTHORS:
Allen.Ingling@nyu.edu awi
mario.kleiner.de@gmail.com mk
PLATFORMS: All.
HISTORY:
8/23/02 awi Created.
*/
//begin include once
#ifndef PSYCH_IS_INCLUDED_PsychRegisterProject
#define PSYCH_IS_INCLUDED_PsychRegisterProject
#include "Psych.h"
#define PSYCH_MAX_FUNCTION_NAME_LENGTH 64
#define PSYCH_MAX_FUNCTIONS 512
typedef struct
{
char name[PSYCH_MAX_FUNCTION_NAME_LENGTH+1]; // +1 for term null
PsychFunctionPtr function;
} PsychFunctionTableEntry;
PsychError PsychDescribeModuleFunctions(void);
PsychError PsychRegister(char *name, PsychFunctionPtr func);
PsychError PsychRegisterExit(PsychFunctionPtr exitFunc);
void PsychResetRegistry(void);
PsychFunctionPtr PsychGetProjectFunction(char *command);
char *PsychGetFunctionName(void);
char *PsychGetModuleName(void);
char *PsychGetBuildDate(void);
char *PsychGetBuildTime(void);
int PsychGetBuildNumber(void);
char *PsychGetVersionString(void);
PsychFunctionPtr PsychGetProjectExitFunction(void);
//end include once
#endif
|