* add initial directories
* import ivtv-utils-1.4.0

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@2 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@3 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
ivtv-radio.c now connects to perl client via udp on localhost. does not scan/tune.

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@4 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
Reorder headers and comment out unneeded ones.

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@5 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* changed port to 20003
* check for udp instead of stdio

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@6 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* change RADIO_DEV and AUDIO_IN_DEV to devices we have access to
* readd limits.h for PATH_MAX

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@7 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* remove Matt's comment
* add function prototypes
* move our functions to the bottom of the file

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@8 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
Formatting, no code change
* attempt to keep line length under 80 chars
* align function parameters to opening parenthesis if they span multiple lines
* move braces to their own lines
* trim trailing spaces
* replace tabs with spaces

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@9 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* PATH_MAX is defined in linux/limits.h not limits.h
* remove second parameter from writeData
* comment out original program argument list
* scan if message sent is "scan"

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@10 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* add option to exit program
* add option to tune (UNTESTED)

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@11 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
Add dirty workaround for tune because stdio and udp treat messages differently

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@12 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* pass the correct parameter to writeData()
* remove a duplicate fprintf statement

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@13 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
Add and use fgets_wrapper(), courtesy of Jonathan Leffler. Compared to fgets(), this just removes the newline. This removes the inconsistency from readData(), as scanf() will automatically split on spaces.

http://stackoverflow.com/questions/4309746/safe-alternative-to-gets

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@14 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
When scan is called, construct a string of channel stations using semicolon as a delimiter. Output it to stderr for now.

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@15 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* remove unused variable echolen
* reduce scope of buffer, received, and echoserver from global to function variables
* modify readData(), and writeData() in the process

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@16 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* readData(): remove comparison check from assignment
* writeData(): cast uint to int to remove warning

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@17 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
missed this too

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@18 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
more function modifications

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@19 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
modify scan_channels() to return the list of channels

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@20 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9
* move code for tuning and playing inside loop (UNTESTED)
* remove print_usage()
* remove code for pass-through mode
* remove commented out code

git-svn-id: https://cs.newpaltz.edu/repos/se-g04/trunk@21 f5c5f34c-ed20-4a79-ab3d-f4db08e717e9