diff --git a/src/libopensc/cardctl.h b/src/libopensc/cardctl.h index 6424193e..11ef964a 100644 --- a/src/libopensc/cardctl.h +++ b/src/libopensc/cardctl.h @@ -1,6 +1,24 @@ /* - * card_ctl command numbers + * cardctl.h: card_ctl command numbers * + * Copyright (C) 2003 Olaf Kirch + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* * There is a range of generic card_ctls, and card-specific * ranges. I've used a 3-letter abbreviation of the card in * the prefix, but that's just a fad :) diff --git a/src/libopensc/esteid.h b/src/libopensc/esteid.h index 6d8c2c6d..a7a494ca 100644 --- a/src/libopensc/esteid.h +++ b/src/libopensc/esteid.h @@ -20,13 +20,14 @@ enum { SC_ESTEID_PD_REMARK3, SC_ESTEID_PD_REMARK4 }; + enum { SC_ESTEID_AUTH = 1, SC_ESTEID_SIGN }; -/* i love constants */ -#define SC_ESTEID_KEYREF_FILE_RECLEN 21 +#define SC_ESTEID_KEYREF_FILE_RECLEN 21 int select_esteid_df(sc_card_t * card); + #endif diff --git a/src/libopensc/ui.h b/src/libopensc/ui.h index 1e133997..e526b1ad 100644 --- a/src/libopensc/ui.h +++ b/src/libopensc/ui.h @@ -1,7 +1,21 @@ /* - * User interface layer. + * ui.h: User interface layer * * Copyright (C) 2003 Olaf Kirch + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _SC_UI_H