func GetSendQueueCount(homeID uint32) int32 {
	return int32(C.manager_getSendQueueCount(cmanager, C.uint32_t(homeID)))
}
GetSendQueueCount returns the count of messages in the outgoing send queue.
package goopenzwave
import "C"
import (
	"fmt"
	"unsafe"
)
func AddDriver(controllerPath string) error {
	cControllerPath := C.CString(controllerPath)
	defer C.free(unsafe.Pointer(cControllerPath))
	ok := bool(C.manager_addDriver(cmanager, cControllerPath))
	if ok == false {
		return fmt.Errorf("controller already exists")
	}
	return nil
}
func RemoveDriver(controllerPath string) error {
	cControllerPath := C.CString(controllerPath)
	defer C.free(unsafe.Pointer(cControllerPath))
	ok := bool(C.manager_removeDriver(cmanager, cControllerPath))
	if ok == false {
		return fmt.Errorf("controller not found")
	}
	return nil
}
func GetControllerNodeID(homeID uint32) uint8 {
	return uint8(C.manager_getControllerNodeId(cmanager, C.uint32_t(homeID)))
}
func GetSUCNodeID(homeID uint32) uint8 {
	return uint8(C.manager_getSUCNodeId(cmanager, C.uint32_t(homeID)))
}
func IsPrimaryController(homeID uint32) bool {
	return bool(C.manager_isPrimaryController(cmanager, C.uint32_t(homeID)))
}
func IsStaticUpdateController(homeID uint32) bool {
	return bool(C.manager_isStaticUpdateController(cmanager, C.uint32_t(homeID)))
}
func IsBridgeController(homeID uint32) bool {
	return bool(C.manager_isBridgeController(cmanager, C.uint32_t(homeID)))
}
func GetLibraryVersion(homeID uint32) string {
	cstr := C.manager_getLibraryVersion(cmanager, C.uint32_t(homeID))
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
func GetLibraryTypeName(homeID uint32) string {
	cstr := C.manager_getLibraryTypeName(cmanager, C.uint32_t(homeID))
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}