To add Minc functions to the Cmix kernel just
define them as type double, make sure they return
something, introduce them in ug_intro.c and then
add them to the Makefile.  From then on all applications
you build will have these Minc functions.  Check out
the files listed at the bottom of this file for examples of
these kinds of functions.  The complete list of
'generic' Minc functions is thus contained in 
ug_intro.c

Currently:  (The names in quotes are how Minc sees them, 
		and the right-hand version is how the compiler
		sees them.  The m_ tradition is to avoid 
		compiler confusions)

	UG_INTRO("makegen", makegen);
	UG_INTRO("open",m_open);
	UG_INTRO("peakoff",peak_off);
	UG_INTRO("punch",punch_on);
	UG_INTRO("sfclean",m_clean);
	UG_INTRO("sfprint",sfprint);
	UG_INTRO("system",m_system);
	UG_INTRO("sfcopy",sfcopy);
	UG_INTRO("input",m_input);
	UG_INTRO("output",m_output);
	UG_INTRO("cpspch",m_cpspch);
	UG_INTRO("pchcps",m_pchcps);
 	UG_INTRO("pchoct",m_pchoct);
 	UG_INTRO("octpch",m_octpch);
	UG_INTRO("octcps",m_octcps);
	UG_INTRO("cpsoct",m_cpsoct);
	UG_INTRO("random",m_random);
	UG_INTRO("rand",m_rand);
	UG_INTRO("srand",m_srand);
	UG_INTRO("fplot",fplot);
	UG_INTRO("tb",m_time_beat);
	UG_INTRO("bt",m_beat_time);
	UG_INTRO("tbase",tbase);
	UG_INTRO("tempo",tempo);
	UG_INTRO("trunc",m_trunc);
	UG_INTRO("ampdb",m_ampdb);
	UG_INTRO("boost",m_boost);
	UG_INTRO("resetamp",resetamp);
	UG_INTRO("sr",m_sr);
	UG_INTRO("chans",m_chans);
	UG_INTRO("class",m_class);
	UG_INTRO("dur",m_dur);
	UG_INTRO("peak",m_peak);
	UG_INTRO("left_peak",m_left);
	UG_INTRO("right_peak",m_right);
	UG_INTRO("load_array",m_load_array);
	UG_INTRO("get_array",m_get_array);
	UG_INTRO("get_sum",m_get_sum);
	UG_INTRO("mod",m_mod);
	UG_INTRO("put_array",m_put_array);
	UG_INTRO("get_size",m_get_size);
	UG_INTRO("max",m_max);
	UG_INTRO("exit",m_exit);
	UG_INTRO("info",m_info);
 	UG_INTRO("infile", m_infile);
 	UG_INTRO("sampfunc",m_sampfunc);
 	UG_INTRO("sampfunci",m_sampfunci);
 	UG_INTRO("getpch",m_getpch);
 	UG_INTRO("getamp",m_getamp);
 	UG_INTRO("stringify",m_stringify);
	UG_INTRO("pow",m_pow);
	UG_INTRO("round",m_round);
	UG_INTRO("print",m_print);
	UG_INTRO("wrap",m_wrap);
	UG_INTRO("abs",m_abs);

These functions are contained in a couple of files:  minc_functions.c, minc_info.c, m_system.c, sampfunc.c, and infile.c.

