# dkim_close()

SYNOPSIS |
    #include <dkim.h>
    void dkim_close(
    	DKIM_LIB *lib
    );
Shut down an instantiation of the DKIM service.
DESCRIPTION |
Called When | `dkim_close()` is called shutting down the application. It deallocates all allocated resources having to do with the DKIM library. It does not deallocate resources associated with any existing `DKIM` handles; those should be cleaned up first with calls to `dkim_free()`.
ARGUMENTS |
Argument | Description
--- | ---
lib | The library handle to be shut down, previously returned from a call to `dkim_init()`.

NOTES

- When this function returns, the data referenced by `lib` is no longer usable.

Copyright (c) 2007 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.