]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util_darwin.h
osx: disable app-nap during serial comm (#687)
[proxmark3-svn] / client / util_darwin.h
diff --git a/client/util_darwin.h b/client/util_darwin.h
new file mode 100644 (file)
index 0000000..923a4df
--- /dev/null
@@ -0,0 +1,17 @@
+//-----------------------------------------------------------------------------
+// (c) 2018 AntiCat
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// macOS framework bindings
+//-----------------------------------------------------------------------------
+
+#ifndef UTIL_DARWIN_H__
+#define UTIL_DARWIN_H__
+
+void disableAppNap(const char* reason);
+void enableAppNap();
+
+#endif
\ No newline at end of file
Impressum, Datenschutz