Navigation


Changeset 120:d7acdc46134d in freeDiameter for extensions/test_app/ta_sig.c


Ignore:
Timestamp:
Dec 9, 2009, 5:36:38 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Renamed several extensions

File:
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/test_app/ta_sig.c

    r98 r120  
    3636/* Install the signal handler */
    3737
    38 #include "app_test.h"
     38#include "test_app.h"
    3939
    4040static pthread_t th = (pthread_t) NULL;
    4141
    42 static void * atst_sig_th(void * arg)
     42static void * ta_sig_th(void * arg)
    4343{
    4444        int sig;
     
    5050       
    5151        sigemptyset(&ss);
    52         sigaddset(&ss, atst_conf->signal);
     52        sigaddset(&ss, ta_conf->signal);
    5353       
    5454        while (1) {
     
    6969}
    7070
    71 int atst_sig_init(void (*cb)(void))
     71int ta_sig_init(void (*cb)(void))
    7272{
    73         return pthread_create( &th, NULL, atst_sig_th, (void *)cb );
     73        return pthread_create( &th, NULL, ta_sig_th, (void *)cb );
    7474}
    7575
    76 void atst_sig_fini(void)
     76void ta_sig_fini(void)
    7777{
    7878        void * th_ret = NULL;
Note: See TracChangeset for help on using the changeset viewer.