Skip to content

Commit

Permalink
Initial commit of mslib-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ieatlint committed Aug 24, 2010
0 parents commit ce29302
Show file tree
Hide file tree
Showing 6 changed files with 1,399 additions and 0 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
TEST="HI"
LIBRARIES=glib-2.0

CFL=`pkg-config --cflags ${LIBRARIES}`
LIBR=`pkg-config --libs ${LIBRARIES}`

all:
gcc -c mslib.c -Wall -g ${CFL}
gcc -c mstest.c -Wall -g ${CFL}
gcc -o mstest -Wall ${LIBR} mstest.o mslib.o

clean:
rm -f *.o mstest
23 changes: 23 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
This is a library for reading magnetic stripes through PCM audio data.

As of version 1.0, it only supports ABA encoding as found on track 2 of
magnetic stripe cards.

Included in this package:
mslib - The library
mstest - a C program to test the library with PCM audio files

mslib and mstest are tersely documented. The latter should provide a basic
usage example. Refer to mslib.h for additional documentation.

Requirements:
glib-2.0


To compile mslib and mstest, run "make".

For more information on how this library works, see my blog at:
http://blog.tehinterweb.com/

Jeffrey Malone
ieatlint@tehinterweb.com
Loading

0 comments on commit ce29302

Please sign in to comment.