Next: , Previous: , Up: Context Attributes   [Contents][Index]


7.4.4 ASCII Armor

Function: void gpgme_set_armor (gpgme_ctx_t ctx, int yes)

The function gpgme_set_armor specifies if the output should be ASCII armored. By default, output is not ASCII armored.

ASCII armored output is disabled if yes is zero, and enabled otherwise.

Function: int gpgme_get_armor (gpgme_ctx_t ctx)

The function gpgme_get_armor returns 1 if the output is ASCII armored, and 0 if it is not, or if ctx is not a valid pointer.