mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
update to latest vita-headers
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package net
|
||||
|
||||
import "core:c"
|
||||
import sce "../common"
|
||||
|
||||
foreign import adhoc "system:SceNetAdhocMatching_stub"
|
||||
|
||||
foreign adhoc {
|
||||
sceNetAdhocMatchingInit :: proc(pool_size: c.uint, pool_ptr: rawptr) -> c.int ---
|
||||
sceNetAdhocMatchingTerm :: proc() -> c.int ---
|
||||
sceNetAdhocMatchingStart :: proc(id: c.int, thread_priority: c.int, thread_stack_size: c.int, thread_cpu_affinity_mask: c.int, hello_opt_len: c.int, hello_opt: rawptr) -> c.int ---
|
||||
sceNetAdhocMatchingCreate :: proc(mode: SceNetAdhocMatchingMode, max_members: c.int, port: sce.UShort16, rx_buffer_len: c.int, hello_interval: c.uint, keep_alive_interval: c.uint, retry_count: c.int, rexmt_interval: c.uint, handler_callback: SceNetAdhocMatchingCallback) -> c.int ---
|
||||
sceNetAdhocMatchingStop :: proc(id: c.int) -> c.int ---
|
||||
sceNetAdhocMatchingDelete :: proc(id: c.int) -> c.int ---
|
||||
sceNetAdhocMatchingAbortSendData :: proc(id: c.int, addr: ^SceNetInAddr) -> c.int ---
|
||||
sceNetAdhocMatchingCancelTargetWithOpt :: proc(id: c.int, target: ^SceNetInAddr, opt_len: c.int, opt: ^c.char) -> c.int ---
|
||||
sceNetAdhocMatchingCancelTarget :: proc(id: c.int, target: ^SceNetInAddr) -> c.int ---
|
||||
sceNetAdhocMatchingSetHelloOpt :: proc(id: c.int, opt_len: c.int, opt: rawptr) -> c.int ---
|
||||
sceNetAdhocMatchingGetHelloOpt :: proc(id: c.int, opt_len: ^c.uint, opt: rawptr) -> c.int ---
|
||||
sceNetAdhocMatchingGetMembers :: proc(id: c.int, members_count: ^c.uint, members: ^SceNetAdhocMatchingMember) -> c.int ---
|
||||
sceNetAdhocMatchingSelectTarget :: proc(id: c.int, target: ^SceNetInAddr, opt_len: c.int, opt: rawptr) -> c.int ---
|
||||
sceNetAdhocMatchingSendData :: proc(id: c.int, addr: ^SceNetInAddr, data_len: c.int, data: rawptr) -> c.int ---
|
||||
}
|
||||
Reference in New Issue
Block a user