2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
8 #ifndef GSSIMPORTNAME_H
9 #define GSSIMPORTNAME_H
11 #include "GSSCommand.h"
12 #include "datamodel/GSSBuffer.h"
13 #include "datamodel/GSSName.h"
17 class GSSImportName : public GSSCommand
20 GSSImportName(gss_imp_name_type fn = &gss_import_name) : function(fn) {};
21 GSSImportName(JSONObject *params, gss_imp_name_type fn = &gss_import_name);
26 GSSBuffer getInputName() { return GSSBuffer(inputName); }
27 GSSBuffer getInputNameType() { return GSSBuffer(inputNameType); }
29 gss_imp_name_type getGSSFunction() { return function; }
32 gss_imp_name_type function;
33 bool loadParameters(JSONObject *params);
35 GSSBuffer inputNameType;
39 #endif // GSSIMPORTNAME_H