diff options
Diffstat (limited to 'doc/README.CODING_STYLE')
-rw-r--r-- | doc/README.CODING_STYLE | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.CODING_STYLE b/doc/README.CODING_STYLE index 327f2f1e03..fee502584c 100644 --- a/doc/README.CODING_STYLE +++ b/doc/README.CODING_STYLE @@ -44,6 +44,12 @@ The rules here are not always used, although we try to stick to them. Definitions, value defaults and enumerated values should be in capitals. E.g. GNUTLS_CIPHER_3DES_CBC + Structures should have the '_st' suffix in their name even + if they are a typedef. One can use the sizeof() on types with + '_st' as suffix. + + Other constructed types should have the '_t' suffix. A pointer + to a structure also has the '_t' suffix. *** Function parameters: The gnutls functions accept parameters in the order: |