135c4bbdfSmrg/*********************************************************** 235c4bbdfSmrg 335c4bbdfSmrgCopyright 2012 Jon TURNEY 435c4bbdfSmrg 535c4bbdfSmrgPermission is hereby granted, free of charge, to any person obtaining a 635c4bbdfSmrgcopy of this software and associated documentation files (the "Software"), 735c4bbdfSmrgto deal in the Software without restriction, including without limitation 835c4bbdfSmrgthe rights to use, copy, modify, merge, publish, distribute, sublicense, 935c4bbdfSmrgand/or sell copies of the Software, and to permit persons to whom the 1035c4bbdfSmrgSoftware is furnished to do so, subject to the following conditions: 1135c4bbdfSmrg 1235c4bbdfSmrgThe above copyright notice and this permission notice (including the next 1335c4bbdfSmrgparagraph) shall be included in all copies or substantial portions of the 1435c4bbdfSmrgSoftware. 1535c4bbdfSmrg 1635c4bbdfSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1735c4bbdfSmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1835c4bbdfSmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1935c4bbdfSmrgTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 2035c4bbdfSmrgLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2135c4bbdfSmrgFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2235c4bbdfSmrgDEALINGS IN THE SOFTWARE. 2335c4bbdfSmrg 2435c4bbdfSmrg******************************************************************/ 2535c4bbdfSmrg 2635c4bbdfSmrgint dix_main(int argc, char *argv[], char *envp[]); 2735c4bbdfSmrg 2835c4bbdfSmrg/* 2935c4bbdfSmrg A default implementation of main, which can be overridden by the DDX 3035c4bbdfSmrg */ 3135c4bbdfSmrgint 3235c4bbdfSmrgmain(int argc, char *argv[], char *envp[]) 3335c4bbdfSmrg{ 3435c4bbdfSmrg return dix_main(argc, argv, envp); 3535c4bbdfSmrg} 36