Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   2. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   3. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   4. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   5. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   6. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Tue,  6 Dec 2005 08:26:29 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        testclient.c 


Log Message:
make the test simpler
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/testclient.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- testclient.c        21 Sep 2005 05:23:56 -0000      1.1
+++ testclient.c        6 Dec 2005 15:26:29 -0000       1.2
@@ -1,23 +1,35 @@
+/*
+ * Test client for Linux HA management daemon
+ *
+ * Author: Huang Zhen <[EMAIL PROTECTED]>
+ * Copyright (c) 2005 International Business Machines
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ * 
+ * This software 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
+ * General Public License for more details.
+ * 
+ * You should have received a copy of the GNU 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
+ */
+
 #include <unistd.h>
 #include <stdio.h>
-#include <mgmt/mgmt.h>
+#include <mgmt/mgmt_client.h>
 
 int main (int argc, char* argv[])
 {
        char* ret;
        mgmt_connect("127.0.0.1", "hacluster","hacluster");
-       ret = mgmt_sendmsg(MSG_ECHO);
-       printf("%s\n",ret);
-       mgmt_del_msg(ret);
-       
-       ret = mgmt_sendmsg(MSG_ACTIVENODES);
-       printf("%s\n",ret);
-       mgmt_del_msg(ret);
-
-       ret = mgmt_sendmsg(MSG_ALLNODES);
+       ret = mgmt_sendmsg(MSG_ECHO"\nhello");
        printf("%s\n",ret);
        mgmt_del_msg(ret);
-       
        mgmt_disconnect();
        return 0;
 }




------------------------------

Message: 2
Date: Tue,  6 Dec 2005 08:27:47 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Added Files:
        ha.png 


Log Message:
the logo of linux-ha, used in GUI client




------------------------------

Message: 3
Date: Tue,  6 Dec 2005 08:35:08 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        Makefile.am 


Log Message:
add logo, change some name of libs
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 27 Oct 2005 09:32:29 -0000      1.2
+++ Makefile.am 6 Dec 2005 15:35:08 -0000       1.3
@@ -21,7 +21,7 @@
 
 halibdir       = $(libdir)/@HB_PKG@
 halib_SCRIPTS  = haclient.py   
-halib_DATA     = haclient.glade
+halib_DATA     = haclient.glade ha.png
 
 INCLUDES             = -I$(top_builddir)/include  -I$(top_srcdir)/include \
                        -I$(top_builddir)/linux-ha -I$(top_srcdir)/linux-ha \
@@ -30,9 +30,8 @@
 MGMT_DIR               =       mgmt
 
 noinst_PROGRAMS        =       testclient
-
 testclient_SOURCES     =       testclient.c
-testclient_LDFLAGS     =       $(top_builddir)/lib/$(MGMT_DIR)/libmgmt.la \
-                               $(top_builddir)/lib/$(MGMT_DIR)/libtls.la \
+testclient_LDFLAGS     =       
$(top_builddir)/lib/$(MGMT_DIR)/libmgmtclient.la \
+                               $(top_builddir)/lib/$(MGMT_DIR)/libmgmttls.la \
+                               
$(top_builddir)/lib/$(MGMT_DIR)/libmgmtcommon.la \
                                `libgnutls-config --libs`
-




------------------------------

Message: 4
Date: Tue,  6 Dec 2005 08:44:45 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Removed Files:
        mgmtd_crm.c 


Log Message:
change name to mgmt_crm.c




------------------------------

Message: 5
Date: Tue,  6 Dec 2005 08:46:21 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Added Files:
        mgmt_crm.c 


Log Message:
change name to mgmt_crm.c




------------------------------

Message: 6
Date: Tue,  6 Dec 2005 08:53:12 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Added Files:
        mgmt_lrm.c mgmt_hb.c 


Log Message:
renaming




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 25, Issue 9
*******************************************

Reply via email to