Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #if 0 // Pierre-Marie Baty -- compile guard
  2.  
  3. #include "devlist.h"
  4. #include "harness/trace.h"
  5.  
  6. // IDA: br_error __cdecl AddRequestedDrivers()
  7. br_error AddRequestedDrivers(void) {
  8.     char devstr[256];
  9.     static br_boolean bAlreadyDone;
  10.     LOG_TRACE("()");
  11.     NOT_IMPLEMENTED();
  12. }
  13.  
  14. // IDA: br_error __usercall devAdd@<EAX>(br_device **pdev@<EAX>, br_device_begin_fn *dev_begin@<EDX>, char *args@<EBX>, br_image *image@<ECX>)
  15. br_error devAdd(br_device** pdev, br_device_begin_fn* dev_begin, char* args, br_image* image) {
  16.     int i;
  17.     br_device* dev;
  18.     br_open_device* new_slots;
  19.     LOG_TRACE("(%p, %p, \"%s\", %p)", pdev, dev_begin, args, image);
  20.     NOT_IMPLEMENTED();
  21. }
  22.  
  23. // IDA: br_error __cdecl BrDevAdd(br_device **pdev, char *image, char *args)
  24. br_error BrDevAdd(br_device** pdev, char* image, char* args) {
  25.     br_image* dev_image;
  26.     br_device_begin_fn* dev_begin;
  27.     LOG_TRACE("(%p, \"%s\", \"%s\")", pdev, image, args);
  28.     NOT_IMPLEMENTED();
  29. }
  30.  
  31. // IDA: br_error __cdecl BrDevAddStatic(br_device **pdev, br_device_begin_fn *dev_begin, char *args)
  32. br_error BrDevAddStatic(br_device** pdev, br_device_begin_fn* dev_begin, char* args) {
  33.     LOG_TRACE("(%p, %p, \"%s\")", pdev, dev_begin, args);
  34.     NOT_IMPLEMENTED();
  35. }
  36.  
  37. // IDA: br_error __cdecl BrDevCheckAdd(br_device **pdev, char *name, char *args)
  38. br_error BrDevCheckAdd(br_device** pdev, char* name, char* args) {
  39.     LOG_TRACE("(%p, \"%s\", \"%s\")", pdev, name, args);
  40.     NOT_IMPLEMENTED();
  41. }
  42.  
  43. // IDA: br_error __cdecl BrDevAddConfig(char *config)
  44. br_error BrDevAddConfig(char* config) {
  45.     char* end;
  46.     char* dev;
  47.     char* arg;
  48.     char tmp[512];
  49.     int n;
  50.     LOG_TRACE("(\"%s\")", config);
  51.     NOT_IMPLEMENTED();
  52. }
  53.  
  54. // IDA: br_error __cdecl BrDevRemove(br_device *dev)
  55. br_error BrDevRemove(br_device* dev) {
  56.     int i;
  57.     LOG_TRACE("(%p)", dev);
  58.     NOT_IMPLEMENTED();
  59. }
  60.  
  61. // IDA: br_error __cdecl BrDevFind(br_device **pdev, char *pattern)
  62. br_error BrDevFind(br_device** pdev, char* pattern) {
  63.     int i;
  64.     int c;
  65.     LOG_TRACE("(%p, \"%s\")", pdev, pattern);
  66.     NOT_IMPLEMENTED();
  67. }
  68.  
  69. // IDA: br_error __cdecl BrDevFindMany(br_device **devices, br_int_32 *ndevices, br_int_32 max_devices, char *pattern)
  70. br_error BrDevFindMany(br_device** devices, br_int_32* ndevices, br_int_32 max_devices, char* pattern) {
  71.     int i;
  72.     int c;
  73.     LOG_TRACE("(%p, %p, %d, \"%s\")", devices, ndevices, max_devices, pattern);
  74.     NOT_IMPLEMENTED();
  75. }
  76.  
  77. // IDA: br_error __cdecl BrDevCount(br_int_32 *ndevices, char *pattern)
  78. br_error BrDevCount(br_int_32* ndevices, char* pattern) {
  79.     int i;
  80.     int c;
  81.     LOG_TRACE("(%p, \"%s\")", ndevices, pattern);
  82.     NOT_IMPLEMENTED();
  83. }
  84.  
  85. // IDA: br_error __cdecl BrDevContainedFind(br_object **ph, br_token type, char *pattern, br_token_value *tv)
  86. br_error BrDevContainedFind(br_object** ph, br_token type, char* pattern, br_token_value* tv) {
  87.     int i;
  88.     LOG_TRACE("(%p, %d, \"%s\", %p)", ph, type, pattern, tv);
  89.     NOT_IMPLEMENTED();
  90. }
  91.  
  92. // IDA: br_error __cdecl BrDevContainedFindMany(br_object **objects, br_int_32 max_objects, br_int_32 *pnum_objects, br_token type, char *pattern, br_token_value *tv)
  93. br_error BrDevContainedFindMany(br_object** objects, br_int_32 max_objects, br_int_32* pnum_objects, br_token type, char* pattern, br_token_value* tv) {
  94.     int i;
  95.     br_int_32 n;
  96.     br_int_32 total;
  97.     br_error r;
  98.     LOG_TRACE("(%p, %d, %p, %d, \"%s\", %p)", objects, max_objects, pnum_objects, type, pattern, tv);
  99.     NOT_IMPLEMENTED();
  100. }
  101.  
  102. // IDA: br_error __cdecl BrDevContainedCount(br_int_32 *pcount, br_token type, char *pattern, br_token_value *tv)
  103. br_error BrDevContainedCount(br_int_32* pcount, br_token type, char* pattern, br_token_value* tv) {
  104.     int i;
  105.     br_int_32 n;
  106.     br_int_32 total;
  107.     br_error r;
  108.     LOG_TRACE("(%p, %d, \"%s\", %p)", pcount, type, pattern, tv);
  109.     NOT_IMPLEMENTED();
  110. }
  111.  
  112. #endif // 0
  113.