File: HACKING

package info (click to toggle)
libssh2 1.2.6-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,512 kB
  • ctags: 1,941
  • sloc: ansic: 19,640; sh: 10,525; makefile: 388; awk: 19
file content (13 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13

libssh2 source code style guide:

 - 4 level indent
 - spaces-only (no tabs)
 - open braces on the if/for line:

     if (banana) {
         go_nuts();
     }

 - keep source lines shorter than 80 columns
 - See libssh2-style.el for how to achieve this within Emacs