NaCl libpcsc

Check-in [b209244e1b]
Login
Overview
Comment:Removed unused parameters in NaCl PCSC initialization
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b209244e1b3e4b4f0d16666b07f6558c9754fb24
User & Date: rkeene on 2016-04-14 17:38:51
Other Links: manifest | tags
Context
2016-04-14
17:44
Added set of ignores check-in: 81ac0c6408 user: rkeene tags: trunk
17:38
Removed unused parameters in NaCl PCSC initialization check-in: b209244e1b user: rkeene tags: trunk
07:21
Try to assemble a working JavaScript library check-in: 7ce79d6ede 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));
}