mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-13 16:53:29 +01:00
20 lines
411 B
Swift
20 lines
411 B
Swift
//
|
|
// EmotionalDamage.swift
|
|
// EmotionalDamage
|
|
//
|
|
// Created by Jackson Coxson on 10/26/22.
|
|
//
|
|
|
|
import Foundation
|
|
import em_proxy
|
|
|
|
public func start_em_proxy(bind_addr: String) {
|
|
let host = NSString(string: bind_addr)
|
|
let host_pointer = UnsafeMutablePointer<CChar>(mutating: host.utf8String)
|
|
_ = start_emotional_damage(host_pointer)
|
|
}
|
|
|
|
public func stop_em_proxy() {
|
|
stop_emotional_damage()
|
|
}
|