Changeset 0d23cc0 in mainline for uspace/srv/hid/rfb/rfb.c


Ignore:
Timestamp:
2013-09-11T23:51:57Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c9f6dd3
Parents:
3482bcc
Message:

Allow rfb parameters to be specified on the command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/rfb/rfb.c

    r3482bcc r0d23cc0  
    161161}
    162162
    163 int rfb_init(rfb_t *rfb, uint16_t width, uint16_t height)
     163int rfb_init(rfb_t *rfb, uint16_t width, uint16_t height, const char *name)
    164164{
    165165        memset(rfb, 0, sizeof(rfb_t));
     
    178178        pf->b_shift = 16;
    179179       
    180         rfb->name = "HelenOS";
     180        rfb->name = str_dup(name);
    181181       
    182182        return rfb_set_size(rfb, width, height);
Note: See TracChangeset for help on using the changeset viewer.