summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01wipBenjamin Franzke2-12/+14
2014-01-01Use md5 from gnulibnew-param-parsingBenjamin Franzke4-18/+594
2013-12-13A result is also valid with 7 charsBenjamin Franzke1-1/+1
There are projectors that result with empty data..
2013-12-13Print data on invalid packet lengthBenjamin Franzke1-1/+2
2013-11-05[WIP] New commandline parsingBenjamin Franzke1-104/+199
This commit tries to centralize the user input parsing, so that the functions really only do what they are for, e.g. requesting for given valid input.
2013-11-05Use array_size makro in error_status param length checkBenjamin Franzke1-1/+1
Just the literal 6 in code is abit hard to unterstand.
2013-11-05Fix check for an invalid avmute target typeBenjamin Franzke1-3/+2
2013-11-05Use a function pointer as toggle indicatorBenjamin Franzke1-16/+9
This saves us from declaring query functions before the response function for toggle functionality.
2013-11-05Improve a comment to be easier to understandBenjamin Franzke1-1/+1
2013-11-05Remove trailing whitespaceBenjamin Franzke1-4/+4
2013-08-21[WIP] Support toggle in avmute commandBenjamin Franzke1-7/+24
2013-08-21Support toggle in power commandBenjamin Franzke1-9/+25
First retrieves power status, and sets the inverse afterwards.
2012-12-04Support for building on windows with CygwinHEADmasterBenjamin Franzke1-0/+10
Also install MakeMsi generator files.
2011-12-11Implement lamp_responsev1Benjamin Franzke1-1/+48
2011-11-15Use strerror instead of printf gnu extension %mBenjamin Franzke1-2/+3
2011-11-15Implement interpreted error status responseBenjamin Franzke1-1/+35
2011-11-12Explicitly define _BSD_SOURCE for asprintf on (open)bsdBenjamin Franzke1-0/+1
asprintf isnt declared since we define also _POSIX_C_SOURCE, so an explicit _BSD_SOURCE to get non posix/ansi prototypes.
2011-11-12Raise _POSIX_C_SOURCE to 200112L for snprintfBenjamin Franzke1-1/+1
2011-11-12Add missing header sys/uio.h.Jan Klemkow1-0/+1
2011-11-12Implement pjlink authenticationBenjamin Franzke2-24/+106
2011-11-12Prettier some status outputsBenjamin Franzke1-3/+3
2011-11-12Implement avmute response status displayBenjamin Franzke1-1/+16
2011-11-12Rename usb back to storageBenjamin Franzke1-3/+3
Since usb displays are often exposed as network interfaces, and what we referred usb to is for reading videos/images from an usb stick.
2011-11-10CosmeticBenjamin Franzke1-3/+6
2011-11-10Store print prefix in queue_ommandBenjamin Franzke1-26/+49
So we dont print to early, before connecting.
2011-11-10Remove glib leftoversBenjamin Franzke1-9/+12
2011-11-10Replace g_list with an ownBenjamin Franzke1-15/+33
2011-11-10Replace g_strdup_printf with asprintfBenjamin Franzke1-5/+10
2011-11-10Replace g_print* with stdio functionsBenjamin Franzke1-48/+49
2011-11-10Replace glib socket with pure unix socketsBenjamin Franzke1-110/+65
Also rip off glib mainloop and just block in read.
2011-11-09Indent & trailing whitespace cosmeticBenjamin Franzke1-6/+6
2011-11-09Print complete usageBenjamin Franzke1-4/+5
2011-11-09Put switches and targets arrays on one lineBenjamin Franzke1-12/+2
2011-11-09Rename source params storage to usb and network to netBenjamin Franzke1-4/+4
2011-11-09Store status commands in a tableBenjamin Franzke1-45/+24
2011-11-09Cleanup socket objects when finishedBenjamin Franzke1-5/+12
So that we explicitly disconnect.
2011-11-09No need to use g_socket_client_connect_to_host_asyncBenjamin Franzke1-36/+23
We can wait in main for successfull connection.
2011-11-09Mege read_cb and recvBenjamin Franzke1-40/+32
2011-11-09Add initial pjctl codeBenjamin Franzke1-0/+688
2011-11-09Init build system.Benjamin Franzke2-0/+8