Ignore:
Timestamp:
Apr 25, 2007, 9:44:55 AM (14 years ago)
Author:
Paul Smedley
Message:

Code updated to Samba 3.0.25rc2 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/profile/profile.c

    r22 r30  
    4343
    4444/****************************************************************************
    45 receive a set profile level message
     45Set a profiling level.
    4646****************************************************************************/
    47 void profile_message(int msg_type, struct process_id src, void *buf, size_t len, void *private_data)
    48 {
    49         int level;
    50 
    51         memcpy(&level, buf, sizeof(int));
     47void set_profile_level(int level, struct process_id src)
     48{
    5249#ifdef WITH_PROFILE
    5350        switch (level) {
     
    9289        DEBUG(1,("INFO: Profiling support unavailable in this build.\n"));
    9390#endif /* WITH_PROFILE */
     91}
     92
     93/****************************************************************************
     94receive a set profile level message
     95****************************************************************************/
     96void profile_message(int msg_type, struct process_id src, void *buf, size_t len, void *private_data)
     97{
     98        int level;
     99
     100        memcpy(&level, buf, sizeof(int));
     101        set_profile_level(level, src);
    94102}
    95103
Note: See TracChangeset for help on using the changeset viewer.