{
 "name": "scorpiox-file-in-use",
 "version": "1.0.0",
 "description": "Pure C 'file is open in another program' engine - Restart Manager (Windows) / /proc scan (Linux) finds which process locks a file; explicit per-(pid,path) handle close (never bulk). Powers Fast File Unlocker (psalmsoftsolutions).",
 "exports": [
  {
   "name": "finuse_who_locks",
   "return": "const char*",
   "csharp_return": "IntPtr",
   "args": [
    {
     "name": "path",
     "type": "const char*",
     "csharp_type": "string",
     "marshal": "UnmanagedType.LPUTF8Str"
    }
   ]
  },
  {
   "name": "finuse_close_handle",
   "return": "int",
   "csharp_return": "int",
   "args": [
    {
     "name": "pid",
     "type": "int",
     "csharp_type": "int"
    },
    {
     "name": "path",
     "type": "const char*",
     "csharp_type": "string",
     "marshal": "UnmanagedType.LPUTF8Str"
    }
   ]
  },
  {
   "name": "finuse_free_string",
   "return": "void",
   "csharp_return": "void",
   "args": [
    {
     "name": "ptr",
     "type": "char*",
     "csharp_type": "IntPtr"
    }
   ]
  },
  {
   "name": "finuse_last_error",
   "return": "const char*",
   "csharp_return": "IntPtr",
   "args": []
  }
 ]
}