Added:
trunk/cs3411/message.c
- copied, changed from r33, /trunk/cs3411/checksum.c
trunk/cs3411/message.h
- copied unchanged from r32, /trunk/cs3411/checksum.h
trunk/cs3411/other.c
trunk/cs3411/other.h
trunk/cs3411/states.c
- copied unchanged from r33, /trunk/cs3411/operations.c
trunk/cs3411/states.h
- copied unchanged from r33, /trunk/cs3411/operations.h
Removed:
trunk/cs3411/checksum.c
trunk/cs3411/checksum.h
trunk/cs3411/operations.c
trunk/cs3411/operations.h
Modified:
trunk/cs3411/main.c
trunk/cs3411/protocol.h
Log:
So, this has some of changes. I think i figured out how to cleanly have
globally defined variables. If we create a file called say "global.c" and throw
all the globals in there, we can just use an extern in the file we need and we
eliminate all linking and other problems. So, you would just use an extern at
the top of any .c file for whatever variable is needed.