Changeset 61881 in vbox for trunk/src/VBox/ValidationKit/utils/usb/UsbTestService.cpp
- Timestamp:
- Jun 24, 2016 2:25:08 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108311
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/usb/UsbTestService.cpp
r60793 r61881 42 42 #include <iprt/handle.h> 43 43 #include <iprt/initterm.h> 44 #include <iprt/json.h> 44 45 #include <iprt/list.h> 45 46 #include <iprt/log.h> … … 55 56 #include <iprt/thread.h> 56 57 57 #include "UsbTestServiceCfg.h"58 58 #include "UsbTestServiceInternal.h" 59 59 #include "UsbTestServiceGadget.h" … … 152 152 static bool volatile g_fTerminate = false; 153 153 /** Configuration AST. */ 154 static PCFGAST g_pCfgAst = NULL;154 static RTJSONVAL g_hCfgJson = NIL_RTJSONVAL; 155 155 /** Pipe for communicating with the serving thread about new clients. - read end */ 156 156 static RTPIPE g_hPipeR; … … 1248 1248 RTListInit(&g_LstClientsNew); 1249 1249 1250 rc = utsParseConfig(g_szCfgPath, &g_pCfgAst, &pErrInfo);1250 rc = RTJsonParseFromFile(&g_hCfgJson, g_szCfgPath, pErrInfo); 1251 1251 if (RT_SUCCESS(rc)) 1252 1252 {
Note:
See TracChangeset
for help on using the changeset viewer.