Ignore:
Timestamp:
08/06/06 09:57:14 (13 years ago)
Author:
spascoe
Message:

Renamed some internal functions binding python to the server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/python_ext/bbftpd.c

    r1124 r1139  
    3939 * Make a callback bbftpd->python to handle authentication. 
    4040 * 
    41  * @param[out] logmessage filled with an error message on failure 
     41 * @param logmessage a pointer to a buffer of length \c NDG_MAX_LOGMESSAGE 
     42 *     for storing an error message when returning -1. 
    4243 * @return 0 on success, -1 on failure 
    4344 */ 
    44 int bbftpd_private_auth_callback(char *logmessage) { 
     45int ndg_auth(char *logmessage) { 
    4546 
    4647  if (authzContext != NULL) { 
     
    7273 * retrieve the username from authzContext. 
    7374 * 
    74  * @param[out] logmessage filled with an error message on failure 
     75 * @param logmessage a pointer to a buffer of length \c NDG_MAX_LOGMESSAGE 
     76 *     for storing an error message when returning NULL. 
    7577 * @return pointer to the username or NULL on failure 
    7678 */ 
    77 char *bbftpd_private_auth_getusername(char *logmessage) { 
     79char *ndg_getusername(char *logmessage) { 
    7880  char *username; 
    7981  PyObject *str_obj; 
     
    9799  return username; 
    98100} 
     101 
     102 
    99103       
    100104/*------------------------------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.