import "github.com/image357/password/cinterface"- func CPWD__Check(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t, result *C.bool) int
- func CPWD__Clean() int
- func CPWD__Delete(id *C.cchar_t) int
- func CPWD__DisableHashing()
- func CPWD__DisableRecovery()
- func CPWD__DumpJSON(buffer *C.char, length int) int
- func CPWD__EnableHashing()
- func CPWD__EnableRecovery(key *C.cchar_t)
- func CPWD__EnableTLS(certFile *C.cchar_t, keyFile *C.cchar_t)
- func CPWD__Exists(id *C.cchar_t, result *C.bool) int
- func CPWD__FilePath(id *C.cchar_t, buffer *C.char, length int) int
- func CPWD__Get(id *C.cchar_t, key *C.cchar_t, buffer *C.char, length int) int
- func CPWD__GetStorePath(buffer *C.char, length int) int
- func CPWD__List(buffer *C.char, length int, delim *C.cchar_t) int
- func CPWD__LoadJSON(input *C.cchar_t) int
- func CPWD__LogLevel(level int) int
- func CPWD__LogSetDefault()
- func CPWD__LogSetFileJSON(filePath *C.cchar_t) int
- func CPWD__LogSetFileText(filePath *C.cchar_t) int
- func CPWD__LogSetMultiJSON(filePath *C.cchar_t) int
- func CPWD__LogSetMultiText(filePath *C.cchar_t) int
- func CPWD__LogSetStderrJSON()
- func CPWD__LogSetStderrText()
- func CPWD__NormalizeId(id *C.cchar_t, buffer *C.char, length int) int
- func CPWD__Overwrite(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) int
- func CPWD__ReadFromDisk(path *C.cchar_t) int
- func CPWD__RegisterDefaultManager(identifier *C.cchar_t)
- func CPWD__RewriteKey(id *C.cchar_t, oldKey *C.cchar_t, newKey *C.cchar_t) int
- func CPWD__Set(id *C.cchar_t, oldPassword *C.cchar_t, newPassword *C.cchar_t, key *C.cchar_t) int
- func CPWD__SetDefaultManager(identifier *C.cchar_t) int
- func CPWD__SetStorePath(path *C.cchar_t) int
- func CPWD__SetTemporaryStorage()
- func CPWD__StartMultiService(bindAddress *C.cchar_t, prefix *C.cchar_t, key *C.cchar_t, callback C.CPWD__TestAccessFunc) int
- func CPWD__StartSimpleService(bindAddress *C.cchar_t, prefix *C.cchar_t, key *C.cchar_t, callback C.CPWD__TestAccessFunc) int
- func CPWD__StopService(timeout int, bindAddress *C.cchar_t, prefix *C.cchar_t) int
- func CPWD__Unset(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) int
- func CPWD__WriteToDisk(path *C.cchar_t) int
- func CPWD__mCheck(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t, result *C.bool) int
- func CPWD__mClean(manager *C.cchar_t) int
- func CPWD__mDelete(manager *C.cchar_t, id *C.cchar_t) int
- func CPWD__mExists(manager *C.cchar_t, id *C.cchar_t, result *C.bool) int
- func CPWD__mGet(manager *C.cchar_t, id *C.cchar_t, key *C.cchar_t, buffer *C.char, length int) int
- func CPWD__mList(manager *C.cchar_t, buffer *C.char, length int, delim *C.cchar_t) int
- func CPWD__mOverwrite(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) int
- func CPWD__mRewriteKey(manager *C.cchar_t, id *C.cchar_t, oldKey *C.cchar_t, newKey *C.cchar_t) int
- func CPWD__mSet(manager *C.cchar_t, id *C.cchar_t, oldPassword *C.cchar_t, newPassword *C.cchar_t, key *C.cchar_t) int
- func CPWD__mUnset(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) int
func CPWD\_\_Check
func CPWD__Check(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t, result *C.bool) intCPWD__Check calls password.Check and returns 0 on success, -1 on error. The result will be stored via the result pointer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_Clean
func CPWD__Clean() intCPWD__Clean calls password.Clean and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_Delete
func CPWD__Delete(id *C.cchar_t) intCPWD__Delete calls password.Delete and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__DisableHashing()CPWD__DisableHashing calls password.DisableHashing.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__DisableRecovery()CPWD__DisableRecovery calls password.DisableRecovery.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_DumpJSON
func CPWD__DumpJSON(buffer *C.char, length int) intCPWD__DumpJSON calls password.DumpJSON and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__EnableHashing()CPWD__EnableHashing calls password.EnableHashing.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__EnableRecovery(key *C.cchar_t)CPWD__EnableRecovery calls password.EnableRecovery.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_EnableTLS
func CPWD__EnableTLS(certFile *C.cchar_t, keyFile *C.cchar_t)CPWD__EnableTLS calls rest.EnableTLS.
For full documentation visit https://github.com/image357/password/blob/main/docs/rest.md
func CPWD\_\_Exists
func CPWD__Exists(id *C.cchar_t, result *C.bool) intCPWD__Exists calls password.Exists and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_FilePath
func CPWD__FilePath(id *C.cchar_t, buffer *C.char, length int) intCPWD__FilePath calls password.FilePath and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_Get
func CPWD__Get(id *C.cchar_t, key *C.cchar_t, buffer *C.char, length int) intCPWD__Get calls password.Get and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/docs/password.md
func CPWD\_\_GetStorePath
func CPWD__GetStorePath(buffer *C.char, length int) intCPWD__GetStorePath calls password.GetStorePath and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_List
func CPWD__List(buffer *C.char, length int, delim *C.cchar_t) intCPWD__List calls password.List and returns 0 on success, -1 on error. The resulting list will be stored in buffer with delim as separator. Error is returned if delim collides with any of the returned ids.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_LoadJSON
func CPWD__LoadJSON(input *C.cchar_t) intCPWD__LoadJSON calls password.LoadJSON and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_LogLevel
func CPWD__LogLevel(level int) intCPWD__LogLevel calls log.Level and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetDefault()CPWD__LogSetDefault calls log.SetDefault.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetFileJSON(filePath *C.cchar_t) intCPWD__LogSetFileJSON calls log.SetFileJSON and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetFileText(filePath *C.cchar_t) intCPWD__LogSetFileText calls log.SetFileText and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetMultiJSON(filePath *C.cchar_t) intCPWD__LogSetMultiJSON calls log.SetMultiJSON and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetMultiText(filePath *C.cchar_t) intCPWD__LogSetMultiText calls log.SetMultiText and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetStderrJSON()CPWD__LogSetStderrJSON calls log.SetStderrJSON.
For full documentation visit https://github.com/image357/password/blob/main/docs/log.md
func CPWD__LogSetStderrText()CPWD__LogSetStderrText calls log.SetStderrText.
func CPWD\_\_NormalizeId
func CPWD__NormalizeId(id *C.cchar_t, buffer *C.char, length int) intCPWD__NormalizeId calls password.NormalizeId and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_Overwrite
func CPWD__Overwrite(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) intCPWD__Overwrite calls password.Overwrite and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_ReadFromDisk
func CPWD__ReadFromDisk(path *C.cchar_t) intCPWD__ReadFromDisk calls password.ReadFromDisk and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__RegisterDefaultManager(identifier *C.cchar_t)CPWD__RegisterDefaultManager calls password.RegisterDefaultManager.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_RewriteKey
func CPWD__RewriteKey(id *C.cchar_t, oldKey *C.cchar_t, newKey *C.cchar_t) intCPWD__RewriteKey calls password.RewriteKey and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_Set
func CPWD__Set(id *C.cchar_t, oldPassword *C.cchar_t, newPassword *C.cchar_t, key *C.cchar_t) intCPWD__Set calls password.Set and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__SetDefaultManager(identifier *C.cchar_t) intCPWD__SetDefaultManager calls password.SetDefaultManager. Returns 0 if the identifier has already been registered, -1 if not.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_SetStorePath
func CPWD__SetStorePath(path *C.cchar_t) intCPWD__SetStorePath calls password.SetStorePath and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__SetTemporaryStorage()CPWD__SetTemporaryStorage calls password.SetTemporaryStorage.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD__StartMultiService(bindAddress *C.cchar_t, prefix *C.cchar_t, key *C.cchar_t, callback C.CPWD__TestAccessFunc) intCPWD__StartMultiService calls rest.StartMultiService and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/rest.md
func CPWD__StartSimpleService(bindAddress *C.cchar_t, prefix *C.cchar_t, key *C.cchar_t, callback C.CPWD__TestAccessFunc) intCPWD__StartSimpleService calls rest.StartSimpleService and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/rest.md
func CPWD\_\_StopService
func CPWD__StopService(timeout int, bindAddress *C.cchar_t, prefix *C.cchar_t) intCPWD__StopService calls rest.StopService and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/rest.md
func CPWD\_\_Unset
func CPWD__Unset(id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) intCPWD__Unset calls password.Unset and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_WriteToDisk
func CPWD__WriteToDisk(path *C.cchar_t) intCPWD__WriteToDisk calls password.WriteToDisk and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mCheck
func CPWD__mCheck(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t, result *C.bool) intCPWD__mCheck calls password.Check with the specified manager and returns 0 on success, -1 on error. The result will be stored via the result pointer.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mClean
func CPWD__mClean(manager *C.cchar_t) intCPWD__mClean calls password.Clean with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mDelete
func CPWD__mDelete(manager *C.cchar_t, id *C.cchar_t) intCPWD__mDelete calls password.Delete with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mExists
func CPWD__mExists(manager *C.cchar_t, id *C.cchar_t, result *C.bool) intCPWD__mExists calls password.Exists with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mGet
func CPWD__mGet(manager *C.cchar_t, id *C.cchar_t, key *C.cchar_t, buffer *C.char, length int) intCPWD__mGet calls password.Get with the specified manager and returns 0 on success, -1 on error. The result will be stored in buffer.
For full documentation visit https://github.com/image357/password/docs/password.md
func CPWD\_\_mList
func CPWD__mList(manager *C.cchar_t, buffer *C.char, length int, delim *C.cchar_t) intCPWD__mList calls password.List with the specified manager and returns 0 on success, -1 on error. The resulting list will be stored in buffer with delim as separator. Error is returned if delim collides with any of the returned ids.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mOverwrite
func CPWD__mOverwrite(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) intCPWD__mOverwrite calls password.Overwrite with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mRewriteKey
func CPWD__mRewriteKey(manager *C.cchar_t, id *C.cchar_t, oldKey *C.cchar_t, newKey *C.cchar_t) intCPWD__mRewriteKey calls password.RewriteKey with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mSet
func CPWD__mSet(manager *C.cchar_t, id *C.cchar_t, oldPassword *C.cchar_t, newPassword *C.cchar_t, key *C.cchar_t) intCPWD__mSet calls password.Set with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
func CPWD\_\_mUnset
func CPWD__mUnset(manager *C.cchar_t, id *C.cchar_t, password *C.cchar_t, key *C.cchar_t) intCPWD__mUnset calls password.Unset with the specified manager and returns 0 on success, -1 on error.
For full documentation visit https://github.com/image357/password/blob/main/docs/password.md
Generated by gomarkdoc