diff --git a/gomilter.go b/gomilter.go index 3246d2c..1106fee 100644 --- a/gomilter.go +++ b/gomilter.go @@ -339,6 +339,7 @@ func GetSymVal(ctx uintptr, symname string) string { return C.GoString(cval) } +// See also: http://bit.ly/1HVWA9I func SetPriv(ctx uintptr, privatedata interface{}) int { // privatedata seems to work for any data type // Structs must have exported fields @@ -593,6 +594,10 @@ func progress(ctx uintptr) int { // ********* Run the milter ********* +func Stop() { + C.smfi_stop() +} + func Run(amilter Milter) int { milter = amilter if milter.GetDebug() {