NaCl libpcsc

Check-in [b209244e1b]
Login
Overview
SHA1:b209244e1b3e4b4f0d16666b07f6558c9754fb24
Date: 2016-04-14 17:38:51
User: rkeene
Comment:Removed unused parameters in NaCl PCSC initialization
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-04-14
17:44
[81ac0c6408] Added set of ignores (user: rkeene, tags: trunk)
17:38
[b209244e1b] Removed unused parameters in NaCl PCSC initialization (user: rkeene, tags: trunk)
07:21
[7ce79d6ede] Try to assemble a working JavaScript library (user: rkeene, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified pcsc/libpcsc.h from [5374437abd] to [07bd3e95e8].

1
2
3
4
5
6
7
8
9
10
11
#ifndef PCSC_NACL_H
#define PCSC_NACL_H 1
#ifdef __cplusplus
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>

void pcscNaClInit(pp::Instance *instance, pp::Core *core, const char *smartcardManagerAppId, const char *clientId);
bool pcscNaClHandleMessage(const pp::Var &message);

#endif
#endif






|




1
2
3
4
5
6
7
8
9
10
11
#ifndef PCSC_NACL_H
#define PCSC_NACL_H 1
#ifdef __cplusplus
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>

void pcscNaClInit(pp::Instance *instance, pp::Core *core);
bool pcscNaClHandleMessage(const pp::Var &message);

#endif
#endif

Modified pcsc/pcsc_nacl_init.cc from [f3e792cf0d] to [8843ef3219].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>
#include "global.h"

static google_smart_card::TypedMessageRouter tmr;

void pcscNaClInit(pp::Instance *instance, pp::Core *core, const char *smartcardManagerAppId, const char *clientId) {
	new google_smart_card::PcscLiteOverRequesterGlobal(&tmr, instance, core);

	return;

	/* UNREACH: These are no longer used */
	smartcardManagerAppId = smartcardManagerAppId;
	clientId = clientId;
}

bool pcscNaClHandleMessage(const pp::Var &message) {
	return(tmr.OnMessageReceived(message));
}






|



<
<
<
<





1
2
3
4
5
6
7
8
9
10




11
12
13
14
15
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>
#include "global.h"

static google_smart_card::TypedMessageRouter tmr;

void pcscNaClInit(pp::Instance *instance, pp::Core *core) {
	new google_smart_card::PcscLiteOverRequesterGlobal(&tmr, instance, core);

	return;




}

bool pcscNaClHandleMessage(const pp::Var &message) {
	return(tmr.OnMessageReceived(message));
}