~ubuntu-branches/ubuntu/precise/trousers/precise-proposed

« back to all changes in this revision

Viewing changes to src/tcs/rpc/tcstp/rpc_delegate.c

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2011-11-21 21:21:39 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20111121212139-ctknyhaijski2e02
Tags: 0.3.7-1
* Imported Upstream version 0.3.7
* Adopt package (set new maintainer) (Closes: #543932)
* Add pkg-config to build-depends
* Update symbols for libtspi1
* Use dh --with autoreconf
* Update patches to work with dh_autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
48
48
                return TCSERR(TSS_E_INTERNAL_ERROR);
49
49
 
50
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
50
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
51
51
 
52
52
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &familyId, 0, &data->comm))
53
53
                return TCSERR(TSS_E_INTERNAL_ERROR);
133
133
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
134
134
                return TCSERR(TSS_E_INTERNAL_ERROR);
135
135
 
136
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
136
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
137
137
 
138
138
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm))
139
139
                return TCSERR(TSS_E_INTERNAL_ERROR);
221
221
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
222
222
                return TCSERR(TSS_E_INTERNAL_ERROR);
223
223
 
224
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
224
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
225
225
 
226
226
        if (getData(TCSD_PACKET_TYPE_BOOL, 1, &increment, 0, &data->comm))
227
227
                return TCSERR(TSS_E_INTERNAL_ERROR);
305
305
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
306
306
                return TCSERR(TSS_E_INTERNAL_ERROR);
307
307
 
308
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
308
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
309
309
 
310
310
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &index, 0, &data->comm))
311
311
                return TCSERR(TSS_E_INTERNAL_ERROR);
369
369
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
370
370
                return TCSERR(TSS_E_INTERNAL_ERROR);
371
371
 
372
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
372
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
373
373
 
374
374
        MUTEX_LOCK(tcsp_lock);
375
375
 
427
427
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
428
428
                return TCSERR(TSS_E_INTERNAL_ERROR);
429
429
 
430
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
430
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
431
431
 
432
432
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &inputSize, 0, &data->comm))
433
433
                return TCSERR(TSS_E_INTERNAL_ERROR);
498
498
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
499
499
                return TCSERR(TSS_E_INTERNAL_ERROR);
500
500
 
501
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
501
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
502
502
 
503
503
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &delegateSize, 0, &data->comm))
504
504
                return TCSERR(TSS_E_INTERNAL_ERROR);
542
542
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
543
543
                return TCSERR(TSS_E_INTERNAL_ERROR);
544
544
 
545
 
        LogDebugFn("thread %zd context %x", THREAD_ID, hContext);
 
545
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
546
546
 
547
547
        if (getData(TCSD_PACKET_TYPE_UINT16, 1, &entityType, 0, &data->comm))
548
548
                return TCSERR(TSS_E_INTERNAL_ERROR);