Source code for canlib.kvrlib.service

import ctypes as ct

from .wrapper import dll


[docs]def query(): status = ct.c_int() dll.kvrServiceQuery(ct.byref(status)) return status.value
[docs]def start(): status = ct.c_int() dll.kvrServiceStart(ct.byref(status)) return status.value
[docs]def stop(): status = ct.c_int() dll.kvrServiceStop(ct.byref(status)) return status.value