diff -Naur compare/before/services/services/flag_content_service/flag_content_service.info compare/after/services/services/flag_content_service/flag_content_service.info
--- compare/before/services/services/flag_content_service/flag_content_service.info	1969-12-31 16:00:00.000000000 -0800
+++ compare/after/services/services/flag_content_service/flag_content_service.info	2007-08-17 04:29:00.000000000 -0700
@@ -0,0 +1,8 @@
+name = Flag Content Service
+description = Provides a flag content service
+package = Services - services
+dependencies = services flag_content
+version = "$Name: DRUPAL-5 $"
+version = "5.x-1.x-dev"
+project = "services"
+
diff -Naur compare/before/services/services/flag_content_service/flag_content_service.module compare/after/services/services/flag_content_service/flag_content_service.module
--- compare/before/services/services/flag_content_service/flag_content_service.module	1969-12-31 16:00:00.000000000 -0800
+++ compare/after/services/services/flag_content_service/flag_content_service.module	2007-09-10 05:41:00.000000000 -0700
@@ -0,0 +1,57 @@
+<?php
+
+/**
+ * Implementation of hook_help().
+ */
+
+function flag_content_service_help($section) {
+  switch ($section) {
+    case 'admin/help#services_user':
+      return t('<p>Provides flag content methods to services applications.  Requires services.module.</p>');
+    case 'admin/modules#description':
+      return t('Provides flag content methods to services applications.  Requires services.module.');
+  }
+}
+
+/**
+ * Implementation of hook_service().
+ */
+ 
+function flag_content_service_service() {
+  return array(
+		
+		// flag method definition
+		array (
+			'#method' => 'flag_content.flag',
+			'#callback' => 'flag_content_service_flag',
+			'#args' =>	array(
+						
+							array(	'#name' => 'eid',
+									'#type' => 'int',
+									'#optional' => FALSE,
+									'#description' => 'id of content to flag'
+							),
+							array(	'#name' => 'type',
+									'#type' => 'string',
+									'#optional' => TRUE,
+									'#description' => 'type of content to flag: node, user, or comment. Default is node.'
+							)
+							
+						),
+			'#return'=> 'int',
+			'#help' => 'Flag a node, user, or comment.'
+		)
+  );
+}
+
+/**
+ * Flag a piece of content
+ */
+function flag_content_service_flag($eid, $type = FLAG_CONTENT_TYPE_NODE){
+	global $user;
+
+	if(flag_content_add_flag($user->uid, $eid, $type))
+	  return 1;
+	else
+	  return services_error(t("Flag failed"));
+}
