[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Getting users id of the user running sync?



Coldsync daemon has palm_username value - add it to set of headers in
conduit.c
Like this:

        ++last_header;
        headers[last_header].name = "Palm_hot_sync_name";
        headers[last_header].value = (char *)palm_username(palm);

Make sure palm is visible in coduit.c
Best of luck hacking conduit.c and coldsync.c

Alex Tronin


----- Original Message ----- 
From: "Izzy Blacklock" <izzyb@ecn.ab.ca>
To: <coldsync-hackers@lusars.net>
Sent: Tuesday, June 10, 2003 5:10 PM
Subject: [coldsync-hackers] Getting users id of the user running sync?


> Is there a way of getting the user name of the person running the sync?
Or
> more more accurately, the user who's palm is in the cradle?  I need a
> solution that works when coldsync is started manually by the user or in
> daemon mode.  Is there a HEADER value or something that provides this?
>
> ...Izzy
>
> -- 
> This message was sent through the coldsync-hackers mailing list.  To
remove
> yourself from this mailing list, send a message to majordomo@thedotin.net
> with the words "unsubscribe coldsync-hackers" in the message body.  For
more
> information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.
>

-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.