Yet another refactor of objects.

This commit is contained in:
Alessio Di Mauro
2015-07-28 17:57:38 +02:00
parent 07379a5c60
commit bd144cc621
12 changed files with 884 additions and 326 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
#ifndef OBJECTS_H
#define OBJECTS_H
#include "pkcs11t.h"
#include "obj_types.h"
#include "ykcs11.h"
#include <stdio.h> // TODO: delete
CK_RV get_attribute(CK_OBJECT_HANDLE obj, CK_ATTRIBUTE_PTR template);
//CK_RV get_object_class(CK_OBJECT_HANDLE obj, CK_OBJECT_CLASS_PTR class);
CK_RV get_attribute(ykcs11_session_t *s, CK_OBJECT_HANDLE obj, CK_ATTRIBUTE_PTR template);
#endif