If you want to express a xor, e.g. 

"var1 + var2 + !var3 = true" 

then you simply need to put into the CNF file the line: 

"x1 2 -3 0"

The "x" in front of the line means that this is a xor-clause clause.
