/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 562 by stargo, Thu Dec 11 17:20:01 2003 UTC revision 569 by n-ki, Wed Jan 21 14:40:40 2004 UTC
# Line 132  rdp_out_unistr(STREAM s, char *string, i Line 132  rdp_out_unistr(STREAM s, char *string, i
132          s->p += len;          s->p += len;
133  }  }
134    
135    /* Input a string in Unicode
136     *
137     * Returns str_len of string
138     */
139    int
140    rdp_in_unistr(STREAM s, char *string, int uni_len)
141    {
142            int i = 0;
143    
144            while (i < uni_len / 2)
145            {
146                    in_uint8a(s, &string[i++], 1);
147                    in_uint8s(s, 1);
148            }
149    
150            return i - 1;
151    }
152    
153    
154  /* Parse a logon info packet */  /* Parse a logon info packet */
155  static void  static void
156  rdp_send_logon_info(uint32 flags, char *domain, char *user,  rdp_send_logon_info(uint32 flags, char *domain, char *user,

Legend:
Removed from v.562  
changed lines
  Added in v.569

  ViewVC Help
Powered by ViewVC 1.1.26