• Jakub Janků's avatar
    vdagentd: parse argv using GLib · 8df6120b
    Jakub Janků authored
    All command line options now have long names
    as they are required by GLib.
    
    So the supported command line options now are:
    
        -h, --help
    
        -d, --debug
        -s, --virtio-serial-port-path
        -S, --vdagentd-socket
        -u, --uinput-device
        -f, --fake-uinput
        -x, --foreground
        -o, --one-session
        -X, --disable-session-integration
    
    Change the types of some global variables that hold the options:
    - const char * --> gchar *
    - int          --> gboolean
    
    Define DEFAULT_UINPUT_DEVICE as "/dev/uinput",
    since there's already DEFAULT_VIRTIO_PORT_PATH, VDAGENTD_SOCKET.
    Signed-off-by: 's avatarJakub Janků <jjanku@redhat.com>
    Acked-by: 's avatarVictor Toso <victortoso@redhat.com>
    8df6120b
Name
Last commit
Last update
data Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...