Re: [Plib-users] netInit()
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2001-11-07 00:44:45
|
Dave McClurg wrote: > > So that, like audio and graphics, the net library can take some command line > initialisation... > > int alutInit ( int* argc, char** argv ) ; /* audio */ > int glutInit ( int* argc, char** argv ) ; /* graphics */ > int netInit ( int* argc, char** argv ) ; /* network */ > > Currently, it's not used, but it's nice to have if we need it later. But: void puInit () ; void fntInit () ; void ssgInit () ; void slInit () ; ...I suppose the "right" thing to do would be to make them optional arguments. void netInit ( int *argc = NULL, char **argv = NULL ) ; ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |